[Rule] Allow servers to adjust the filtering threshold for heals from damage (e.g. Mark of Kings). (#4327)

This commit is contained in:
Fryguy authored and GitHub committed 2024-05-25 14:28:20 -04:00
1 parent 13a7532ef8
commit ca25122bfa
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -4762,7 +4762,7 @@ void Mob::HealDamage(uint64 amount, Mob* caster, uint16 spell_id)
else
acthealed = amount;
if (acthealed > 100) {
if (acthealed > RuleI(Spells, HealAmountMessageFilterThreshold)) {
if (caster) {
if (IsBuffSpell(spell_id)) { // hots
// message to caster