From 1eb5e4a0c1398bb725b470197dfdee8010781469 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Mon, 21 Dec 2020 18:07:15 -0500 Subject: [PATCH] Remove the extra erroneous message (DoT landing message) at mob death if mob dies of DoT. (#1138) * Removed the erroneous message of a DoT "landing" when a mob dies from that DoT * Set spell=-1 on Death struct for NPCs. It was causing extra DoT msg. * Remove whitespace Co-authored-by: Noudess --- zone/attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index 1d780a27e..2531024ee 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -2247,7 +2247,7 @@ bool NPC::Death(Mob* killer_mob, int32 damage, uint16 spell, EQ::skills::SkillTy d->spawn_id = GetID(); d->killer_id = killer_mob ? killer_mob->GetID() : 0; d->bindzoneid = 0; - d->spell_id = spell == SPELL_UNKNOWN ? 0xffffffff : spell; + d->spell_id = 0xffffffff; // Sending spell was causing extra DoT land msg d->attack_skill = SkillDamageTypes[attack_skill]; d->damage = damage; app->priority = 6;