aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-13 00:52:51 +0200
committerQAston <none@none>2009-06-13 00:52:51 +0200
commit2963b6b76d11903ad9abfdc0d823fb0be418bd21 (patch)
tree609f961448f2a2d0577ecc77c76e46a71ffa26d7 /src/game/SpellEffects.cpp
parenta6f45b8ed69e795563e49522e2d363ef7dbee63d (diff)
*Fix Invigoration
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 1552747f65c..051ff8bb198 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5141,6 +5141,16 @@ void Spell::EffectScriptEffect(uint32 effIndex)
{
switch(m_spellInfo->Id)
{
+ // Invigoration
+ case 53412:
+ {
+ if (AuraEffect * aurEff = unitTarget->GetDummyAura(SPELLFAMILY_HUNTER, 3487))
+ {
+ if (roll_chance_i(aurEff->GetAmount()))
+ unitTarget->CastSpell(unitTarget, 53398, true);
+ }
+ break;
+ }
// Heart of the Pheonix
case 55709:
{