[11869] Implement ScriptEffect of spells 49380, 59803

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Xfurry 2011-12-21 18:10:27 +01:00 committed by Schmoozerd
parent 6b8c38884d
commit 8f95cbab1a
2 changed files with 11 additions and 1 deletions

View file

@ -7105,6 +7105,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget, 32756, true);
return;
}
case 49380: // Consume
case 59803: // Consume (heroic)
{
if (!unitTarget)
return;
// Each target hit buffs the caster
unitTarget->CastSpell(m_caster, m_spellInfo->Id == 49380 ? 49381 : 59805, true, NULL, NULL, m_caster->GetObjectGuid());
return;
}
case 50217: // The Cleansing: Script Effect Player Cast Mirror Image
{
// Summon Your Inner Turmoil