Core/Spells: Fixed refreshing stat buff auras that have been improved by talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d94bc2f4b23c51a69213a46b28a5e97aa99f5d5)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user