Core/Auras: Implement SPELL_AURA_MOD_HONOR_GAIN_PCT (SPELL_AURA_491)

Port From (https://github.com/TrinityCore/TrinityCore/commit/65279aadf6b31ff8da12b327ce5289a6efe2ec4b)
This commit is contained in:
Hondacrx
2025-12-08 14:04:32 -05:00
parent b3b42d29ad
commit bb9d8b50fc
2 changed files with 2 additions and 1 deletions
@@ -147,6 +147,7 @@ namespace Game.Entities
// apply honor multiplier from aura (not stacking-get highest)
MathFunctions.AddPct(ref honor_f, GetMaxPositiveAuraModifierByMiscMask(AuraType.ModHonorGainPctFromSource, 1u << (int)source));
MathFunctions.AddPct(ref honor_f, GetMaxPositiveAuraModifier(AuraType.ModHonorGainPct));
honor_f += _restMgr.GetRestBonusFor(RestTypes.Honor, (uint)honor_f);
}