mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Units: Fixed bug in source of cherry-picked commit
This commit is contained in:
@@ -4918,7 +4918,7 @@ void Unit::UpdateStatBuffMod(Stats stat)
|
||||
|
||||
// SPELL_AURA_MOD_STAT_BONUS_PCT only affects BASE_VALUE
|
||||
modPos = CalculatePct(modPos, std::max(GetFlatModifierValue(unitMod, BASE_PCT_EXCLUDE_CREATE), -100.0f));
|
||||
modNeg = CalculatePct(modPos, std::max(GetFlatModifierValue(unitMod, BASE_PCT_EXCLUDE_CREATE), -100.0f));
|
||||
modNeg = CalculatePct(modNeg, std::max(GetFlatModifierValue(unitMod, BASE_PCT_EXCLUDE_CREATE), -100.0f));
|
||||
|
||||
modPos += GetTotalAuraModifier(SPELL_AURA_MOD_STAT, [stat](AuraEffect const* aurEff) -> bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user