aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-19 01:06:06 -0500
committermegamage <none@none>2009-04-19 01:06:06 -0500
commita60d1867e15c44518a84a73ecc344eea7b048af1 (patch)
tree71df68d8612801b69e16f84dfc28b07ddfebdbe0
parent7f8cf6c5fe709d73e89d3ae5a1c85fec2f4618d1 (diff)
*Fix spell Negative Energy (casted by Entropius).
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp6
-rw-r--r--src/game/SpellEffects.cpp2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 1a837de8775..5b75da79a21 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1820,6 +1820,12 @@ void Aura::TriggerSpell()
caster->CastCustomSpell(target, trigger_spell_id, &m_modifier.m_amount, NULL, NULL, true, NULL, this, originalCasterGUID);
return;
}
+ // Negative Energy Periodic
+ case 46284:
+ {
+ caster->CastCustomSpell(trigger_spell_id, SPELLVALUE_MAX_TARGETS, m_tickNumber / 10 + 1, NULL, true, NULL, this, originalCasterGUID);
+ return;
+ }
}
}
if(!GetSpellMaxRange(sSpellRangeStore.LookupEntry(triggeredSpellInfo->rangeIndex)))
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 2ee6c7032b3..13543892c02 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4840,6 +4840,8 @@ void Spell::EffectScriptEffect(uint32 effIndex)
}
// Force Cast - Portal Effect: Sunwell Isle
case 44876: unitTarget->CastSpell(unitTarget, 44870, true); break;
+ // Negative Energy
+ case 46289: m_caster->CastSpell(unitTarget, 46285, true); break;
//5,000 Gold
case 46642:
{