Core/Spells: round final values for more precise results for small aura values

This commit is contained in:
Ovahlord
2019-07-30 16:54:16 +02:00
parent ec8b00a385
commit 052b431ea2

View File

@@ -579,7 +579,7 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster, int32 const* bp, Unit const
}
}
return int32(value);
return uint32(floor(value + 0.5f));
}
int32 SpellEffectInfo::CalcBaseValue(int32 value) const