[9471] Add dummy effect of spell 43036

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-02-27 16:52:19 +01:00
parent 3102858312
commit 76a1843bdd
2 changed files with 13 additions and 1 deletions

View file

@ -1156,6 +1156,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
case 43036: // Dismembering Corpse
{
if (!unitTarget || m_caster->GetTypeId() != TYPEID_PLAYER)
return;
if (unitTarget->HasAura(43059, EFFECT_INDEX_0))
return;
unitTarget->CastSpell(m_caster, 43037, true);
unitTarget->CastSpell(unitTarget, 43059, true);
return;
}
// Demon Broiled Surprise
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
case 43723: