mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 23:01:30 +00:00
[Messages] Remove duplicate heal message for healing yourself (#3329)
This commit is contained in:
parent
9f4d60ec36
commit
5be2041085
@ -4447,11 +4447,19 @@ void Mob::HealDamage(uint64 amount, Mob* caster, uint16 spell_id)
|
||||
}
|
||||
}
|
||||
else { // normal heals
|
||||
FilteredMessageString(caster, Chat::NonMelee, FilterSpellDamage,
|
||||
YOU_HEALED, caster->GetCleanName(), itoa(acthealed));
|
||||
// Message to caster
|
||||
if (caster->IsClient()) {
|
||||
caster->FilteredMessageString(caster, Chat::NonMelee,
|
||||
FilterSpellDamage, YOU_HEAL, GetCleanName(),
|
||||
itoa(acthealed));
|
||||
}
|
||||
|
||||
caster->FilteredMessageString(caster, Chat::NonMelee, FilterSpellDamage,
|
||||
YOU_HEAL, GetCleanName(), itoa(acthealed));
|
||||
// Message to target
|
||||
if (IsClient() && caster != this) {
|
||||
FilteredMessageString(caster, Chat::NonMelee,
|
||||
FilterSpellDamage, YOU_HEALED, caster->GetCleanName(),
|
||||
itoa(acthealed));
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
CastToClient()->GetFilter(FilterHealOverTime) != FilterShowSelfOnly ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user