[11268] Add dummy effect of spell 43014

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-03-20 18:37:21 +01:00
parent b442332403
commit 5b9c2bf336
2 changed files with 9 additions and 1 deletions

View file

@ -1321,6 +1321,14 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
((Player*)m_caster)->KilledMonster(pCreature->GetCreatureInfo(), pCreature->GetObjectGuid());
return;
}
case 43014: // Despawn Self
{
if (m_caster->GetTypeId() != TYPEID_UNIT)
return;
((Creature*)m_caster)->ForcedDespawn();
return;
}
case 43036: // Dismembering Corpse
{
if (!unitTarget || m_caster->GetTypeId() != TYPEID_PLAYER)