From 3dbe7259aafca6a236f83d1866337f45344c09bd Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 18 Feb 2022 17:31:31 -0500 Subject: [PATCH] Core/Spells: Fixed refreshing stat buff auras that have been improved by talents Port From (https://github.com/TrinityCore/TrinityCore/commit/6d94bc2f4b23c51a69213a46b28a5e97aa99f5d5) --- Source/Game/Spells/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index ff1f825dd..a3bcabb8d 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -5521,7 +5521,7 @@ namespace Game.Spells { Unit target = m_targets.GetUnitTarget(); if (target != null) - if (!target.IsHighestExclusiveAuraEffect(m_spellInfo, spellEffectInfo.ApplyAuraName, spellEffectInfo.CalcBaseValue(m_caster, null, m_castItemEntry, m_castItemLevel), approximateAuraEffectMask, false)) + if (!target.IsHighestExclusiveAuraEffect(m_spellInfo, spellEffectInfo.ApplyAuraName, spellEffectInfo.CalcValue(m_caster, m_spellValue.EffectBasePoints[spellEffectInfo.EffectIndex], null, m_castItemEntry, m_castItemLevel), approximateAuraEffectMask, false)) return SpellCastResult.AuraBounced; } }