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