diff --git a/common/ruletypes.h b/common/ruletypes.h index 9e27cbadf..785abd80b 100644 --- a/common/ruletypes.h +++ b/common/ruletypes.h @@ -505,6 +505,7 @@ RULE_BOOL(Spells, ManaTapsRequireNPCMana, false, "Enabling will require target t RULE_INT(Spells, HarmTouchCritRatio, 200, "Harmtouch crit bonus, on top of BaseCritRatio") RULE_BOOL(Spells, UseClassicSpellFocus, false, "Enabling will tell the server to handle random focus damage as classic spell imports lack the limit values.") RULE_BOOL(Spells, ManaTapsOnAnyClass, false, "Enabling this will allow you to cast mana taps on any class, this will bypass ManaTapsRequireNPCMana rule.") +RULE_INT(Spells, HealAmountMessageFilterThreshold, 100, "Lifetaps below this threshold will not have a message sent to the client (Heal will still process) 0 to Disable.") RULE_CATEGORY_END() RULE_CATEGORY(Combat) diff --git a/zone/attack.cpp b/zone/attack.cpp index fa6094207..e927853ba 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -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