aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-15 23:17:48 -0500
committermegamage <none@none>2009-06-15 23:17:48 -0500
commite489988bf484b039736f7fb6c7d15d7924cdd320 (patch)
tree194d055e83939fb092b62e2b423e7d557722ed47 /src/game/Unit.cpp
parent208fbe220db7be29e9ecb297441a1bc6daf59a14 (diff)
[8021] Implement triggering part of shaman talent 51483 and ranks. Author: Beaste. sql by QAston
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp14
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)
{