aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/scripts/Spells/spell_paladin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp
index eb91c11a451..20b942d5ba1 100644
--- a/src/server/scripts/Spells/spell_paladin.cpp
+++ b/src/server/scripts/Spells/spell_paladin.cpp
@@ -2054,7 +2054,7 @@ class spell_pal_seal_of_righteousness : public SpellScriptLoader
float mws = GetTarget()->GetAttackTime(BASE_ATTACK);
mws /= 1000.0f;
- int32 bp = int32(mws * (0.022f * ap + 0.044f * sph));
+ int32 bp = std::lroundf(mws * (0.022f * ap + 0.044f * sph));
CastSpellExtraArgs args(aurEff);
args.AddSpellBP0(bp);
GetTarget()->CastSpell(victim, SPELL_PALADIN_SEAL_OF_RIGHTEOUSNESS, args);