mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Messages] Fix bug where DoT messages stop coming out when mob dies. (#4249)
This commit is contained in:
parent
9a09d820a5
commit
a5e8a4c2cd
@ -4677,9 +4677,9 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons
|
||||
else {
|
||||
//else, it is a buff tic...
|
||||
// So we can see our dot dmg like live shows it.
|
||||
if (IsValidSpell(spell_id) && damage > 0 && attacker && attacker != this && !attacker->IsCorpse()) {
|
||||
if (IsValidSpell(spell_id) && damage > 0 && attacker && attacker != this) {
|
||||
//might filter on (attack_skill>200 && attack_skill<250), but I dont think we need it
|
||||
if (attacker->IsClient()) {
|
||||
if (!attacker->IsCorpse() && attacker->IsClient()) {
|
||||
attacker->FilteredMessageString(attacker, Chat::DotDamage,
|
||||
FilterDOT, YOUR_HIT_DOT, GetCleanName(), itoa(damage),
|
||||
spells[spell_id].name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user