Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack

Port From (https://github.com/TrinityCore/TrinityCore/commit/0c76618b19a0c3cac159524779ba66bcdeef6795)
This commit is contained in:
hondacrx
2024-02-27 13:45:23 -05:00
parent 5406d75d0d
commit 30db565fec
+5 -1
View File
@@ -4102,7 +4102,11 @@ namespace Game.Entities
else
bp = (int)spellEffectInfo.BasePoints;
auraEff.m_baseAmount = bp;
int oldBP = auraEff.m_baseAmount;
if (spellEffectInfo.EffectAttributes.HasFlag(SpellEffectAttributes.AuraPointsStack))
auraEff.m_baseAmount += bp;
else
auraEff.m_baseAmount = bp;
}
// correct cast item guid if needed