Core/Units: fixed applying stat bonus values from SPELL_AURA_MOD_STAT
This commit is contained in:
1 parent
8bd0bfdb8c
commit
a43db2bf4a
1 file changed
+1
-1
@@ -226,7 +226,7 @@ void Stats::updateStat(StatType statType)
|
|||||||
else
|
else
|
||||||
negStatValue += totalModifier;
|
negStatValue += totalModifier;
|
||||||
|
|
||||||
int32 totalValue = baseTotalValue + baseModifier;
|
int32 totalValue = baseTotalValue + totalModifier;
|
||||||
|
|
||||||
// ==== Calculate the total value (Total pct multipliers)
|
// ==== Calculate the total value (Total pct multipliers)
|
||||||
double totalPctMultiplier = _totalPctMultipliers[AsUnderlyingType(statType)];
|
double totalPctMultiplier = _totalPctMultipliers[AsUnderlyingType(statType)];
|
||||||
|
|||||||
Reference in new issue
Block a user