aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-05-06 00:05:45 +0200
committerShauren <shauren.trinity@gmail.com>2016-05-06 00:05:45 +0200
commit44962fe3a9551f183ee9003c8947d5f433cfee16 (patch)
treec0a48925b6a1fb6010f0dc32ccc40fc33b1f32af
parentdadbea4c6ca9593ca82b74ffaedd3b78315178c9 (diff)
Core/Spells: Corrected spell effect value rounding
-rw-r--r--src/server/game/Spells/SpellInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index ef66c6886b4..28ac49fde1f 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -514,7 +514,7 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster /*= nullptr*/, int32 const*
*variance = valueVariance;
}
- basePoints = int32(value);
+ basePoints = int32(round(value));
if (Scaling.ResourceCoefficient)
comboDamage = Scaling.ResourceCoefficient * value;