[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()); ((Player*)m_caster)->KilledMonster(pCreature->GetCreatureInfo(), pCreature->GetObjectGuid());
return; return;
} }
case 43014: // Despawn Self
{
if (m_caster->GetTypeId() != TYPEID_UNIT)
return;
((Creature*)m_caster)->ForcedDespawn();
return;
}
case 43036: // Dismembering Corpse case 43036: // Dismembering Corpse
{ {
if (!unitTarget || m_caster->GetTypeId() != TYPEID_PLAYER) if (!unitTarget || m_caster->GetTypeId() != TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11267" #define REVISION_NR "11268"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__