mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +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());
|
((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)
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue