From 600b06856a286975772c5baa36649cd5c41a3b0b Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 10 Aug 2025 17:11:38 -0400 Subject: [PATCH] Core/Auras: Add DealDamageMods to SPELL_AURA_PERIODIC_LEECH Port From (https://github.com/TrinityCore/TrinityCore/commit/2cedd091a0a1e627801c74297020afc96470d979) --- Source/Game/Spells/Auras/AuraEffect.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Game/Spells/Auras/AuraEffect.cs b/Source/Game/Spells/Auras/AuraEffect.cs index efc999ad7..9404bdcce 100644 --- a/Source/Game/Spells/Auras/AuraEffect.cs +++ b/Source/Game/Spells/Auras/AuraEffect.cs @@ -5368,6 +5368,8 @@ namespace Game.Spells uint absorb = damageInfo.GetAbsorb(); uint resist = damageInfo.GetResist(); + Unit.DealDamageMods(caster, target, ref damage, ref absorb); + // SendSpellNonMeleeDamageLog expects non-absorbed/non-resisted damage SpellNonMeleeDamage log = new(caster, target, GetSpellInfo(), GetBase().GetSpellVisual(), GetSpellInfo().GetSchoolMask(), GetBase().GetCastId()); log.damage = damage;