diff options
author | megamage <none@none> | 2009-06-15 23:17:48 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-15 23:17:48 -0500 |
commit | e489988bf484b039736f7fb6c7d15d7924cdd320 (patch) | |
tree | 194d055e83939fb092b62e2b423e7d557722ed47 /src | |
parent | 208fbe220db7be29e9ecb297441a1bc6daf59a14 (diff) |
[8021] Implement triggering part of shaman talent 51483 and ranks. Author: Beaste. sql by QAston
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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) { |