mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[11869] Implement ScriptEffect of spells 49380, 59803
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
6b8c38884d
commit
8f95cbab1a
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue