Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c76618b19a0c3cac159524779ba66bcdeef6795)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user