aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2025-01-11 20:44:33 +0100
committerOvahlord <dreadkiller@gmx.de>2025-01-11 20:44:33 +0100
commite2c011fbd4eac62ea44401765487a6c931c07e8b (patch)
treea00f095ace8a2db824b3a9139575814a2d660241 /src/server/scripts
parenta940ae963def816e1530067f7e332cd6ef2bc9df (diff)
Scripts/Spells: increased precision when calculating Howling Blast's attack power bonus to match tooltip values
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}