From e489988bf484b039736f7fb6c7d15d7924cdd320 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 15 Jun 2009 23:17:48 -0500 Subject: [8021] Implement triggering part of shaman talent 51483 and ranks. Author: Beaste. sql by QAston --HG-- branch : trunk --- src/game/Unit.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index dd1307e7ef4..190aea1b923 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6575,6 +6575,20 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger break; } } + // Storm, Earth and Fire + if (dummySpell->SpellIconID == 3063) + { + // Earthbind Totem summon only + if(procSpell->Id != 2484) + return false; + + float chance = triggerAmount; + if (!roll_chance_f(chance)) + return false; + + triggered_spell_id = 64695; + break; + } // Ancestral Awakening if (dummySpell->SpellIconID == 3065) { -- cgit v1.2.3