*Fix spell Negative Energy (casted by Entropius).

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-19 01:06:06 -05:00
parent 7f8cf6c5fe
commit a60d1867e1
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -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)))
+2
View File
@@ -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:
{