mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11268] Add dummy effect of spell 43014
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
b442332403
commit
5b9c2bf336
2 changed files with 9 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue