From bb9d8b50fc90a754bdc4ff2fe143518ef8fc5804 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 8 Dec 2025 14:04:32 -0500 Subject: [PATCH] Core/Auras: Implement SPELL_AURA_MOD_HONOR_GAIN_PCT (SPELL_AURA_491) Port From (https://github.com/TrinityCore/TrinityCore/commit/65279aadf6b31ff8da12b327ce5289a6efe2ec4b) --- Source/Framework/Constants/Spells/SpellAuraConst.cs | 2 +- Source/Game/Entities/Player/Player.PvP.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Framework/Constants/Spells/SpellAuraConst.cs b/Source/Framework/Constants/Spells/SpellAuraConst.cs index 0580ed75d..b513045ff 100644 --- a/Source/Framework/Constants/Spells/SpellAuraConst.cs +++ b/Source/Framework/Constants/Spells/SpellAuraConst.cs @@ -498,7 +498,7 @@ namespace Framework.Constants DisableGravity = 488, ModAlternativeDefaultLanguage = 489, // NYI Unk490 = 490, - Unk491 = 491, + ModHonorGainPct = 491, Unk492 = 492, Unk493 = 493, SetPowerPointCharge = 494, // NYI diff --git a/Source/Game/Entities/Player/Player.PvP.cs b/Source/Game/Entities/Player/Player.PvP.cs index 84fbd89e9..cb0c8bd89 100644 --- a/Source/Game/Entities/Player/Player.PvP.cs +++ b/Source/Game/Entities/Player/Player.PvP.cs @@ -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); }