mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-10 14:22:26 +00:00
Fix SE_Destroy breaking respawns
This commit is contained in:
parent
fddb6f67ab
commit
491cabfe8b
@ -2038,7 +2038,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
|||||||
#endif
|
#endif
|
||||||
if(IsNPC()) {
|
if(IsNPC()) {
|
||||||
if(GetLevel() <= 52)
|
if(GetLevel() <= 52)
|
||||||
CastToNPC()->Depop();
|
CastToNPC()->Depop(true);
|
||||||
else
|
else
|
||||||
Message(13, "Your target is too high level to be affected by this spell.");
|
Message(13, "Your target is too high level to be affected by this spell.");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user