mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 11:27:17 +00:00
Fix SE_Destroy breaking respawns
This commit is contained in:
@@ -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.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user