Fixed Tamed Kodo 5 automatically disappear
This commit is contained in:
parent
19de179ede
commit
c3e483abb6
@ -746,6 +746,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||
m_caster->CastSpell(unitTarget, spell_list[urand(0, 5)], true);
|
||||
return;
|
||||
}
|
||||
case 18269: // Kodo Kombobulator
|
||||
{
|
||||
if (!unitTarget)
|
||||
{ return; }
|
||||
|
||||
if (unitTarget->GetTypeId() == TYPEID_PLAYER)
|
||||
{ return; }
|
||||
|
||||
((Creature*)unitTarget)->ForcedDespawn();
|
||||
return;
|
||||
}
|
||||
case 18350: // Dummy Trigger
|
||||
{
|
||||
if (unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user