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

This commit is contained in:
Fryguy
2024-05-25 14:28:20 -04:00
committed by GitHub
parent 13a7532ef8
commit ca25122bfa
2 changed files with 2 additions and 1 deletions
+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