Core/Spells: Fixed spell effect value calculation

This commit is contained in:
Shauren
2018-12-04 20:18:14 +01:00
parent 1b67a2626b
commit fb817ed24b

View File

@@ -568,6 +568,8 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster /*= nullptr*/, int32 const*
level = 0;
value += level * basePointsPerLevel;
}
basePoints = int32(round(value));
}
float value = float(basePoints);