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
+4
View File
@@ -4102,6 +4102,10 @@ namespace Game.Entities
else else
bp = (int)spellEffectInfo.BasePoints; bp = (int)spellEffectInfo.BasePoints;
int oldBP = auraEff.m_baseAmount;
if (spellEffectInfo.EffectAttributes.HasFlag(SpellEffectAttributes.AuraPointsStack))
auraEff.m_baseAmount += bp;
else
auraEff.m_baseAmount = bp; auraEff.m_baseAmount = bp;
} }