[9481] Add dummy effect of spell 51276

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-02-28 13:56:05 +01:00
parent 53eeb6d99a
commit ae7f6de936
2 changed files with 12 additions and 1 deletions

View file

@ -1395,6 +1395,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
case 51276: // Incinerate Corpse
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
unitTarget->CastSpell(unitTarget, 51278, true);
unitTarget->CastSpell(m_caster, 51279, true);
unitTarget->setDeathState(JUST_DIED);
return;
}
case 51330: // Shoot RJR
{
if (!unitTarget)