mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-08 08:12:38 +00:00
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 <noudess@gmail.com>
This commit is contained in:
parent
a1cc68d214
commit
1eb5e4a0c1
@ -2247,7 +2247,7 @@ bool NPC::Death(Mob* killer_mob, int32 damage, uint16 spell, EQ::skills::SkillTy
|
|||||||
d->spawn_id = GetID();
|
d->spawn_id = GetID();
|
||||||
d->killer_id = killer_mob ? killer_mob->GetID() : 0;
|
d->killer_id = killer_mob ? killer_mob->GetID() : 0;
|
||||||
d->bindzoneid = 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->attack_skill = SkillDamageTypes[attack_skill];
|
||||||
d->damage = damage;
|
d->damage = damage;
|
||||||
app->priority = 6;
|
app->priority = 6;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user