From e2c011fbd4eac62ea44401765487a6c931c07e8b Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sat, 11 Jan 2025 20:44:33 +0100 Subject: Scripts/Spells: increased precision when calculating Howling Blast's attack power bonus to match tooltip values --- src/server/scripts/Spells/spell_dk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index 871ef2b2935..117f63d430f 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -288,7 +288,7 @@ class spell_dk_howling_blast : public SpellScript // According to tooltip: (($m2+$M2)/2)+($AP*0.44) and (0.5*((($m2+$M2)/2)+($AP*0.44))) for non-primary targets void CalculateDamage(SpellEffectInfo const& /*effectInfo*/, Unit* victim, int32& damage, int32& /*flatMod*/, float& /*pctMod*/) { - damage += GetCaster()->GetTotalAttackPowerValue(BASE_ATTACK) * 0.4f; + damage += GetCaster()->GetTotalAttackPowerValue(BASE_ATTACK) * 0.44f; if (victim != GetExplTargetUnit()) damage *= 0.5f; } -- cgit v1.2.3