From bbd192aff9813a53a668bfbdd49faa620ae1e6a7 Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Tue, 14 Apr 2026 17:16:39 -0500 Subject: [PATCH] fix(Core/Spells): No SP bonus for DmgClass NONE without spell_bonus_data (#25468) Co-authored-by: blinkysc Co-authored-by: ariel- Co-authored-by: Shauren --- src/server/game/Entities/Unit/Unit.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index a7f18b752..ddd99bb3f 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -8870,6 +8870,12 @@ uint32 Unit::SpellDamageBonusDone(Unit* victim, SpellInfo const* spellProto, uin } } } + else + { + // No bonus damage for SPELL_DAMAGE_CLASS_NONE class spells by default + if (spellProto->DmgClass == SPELL_DAMAGE_CLASS_NONE) + return uint32(std::max((float(pdamage) + DoneTotal) * DoneTotalMod, 0.0f)); + } // Default calculation if (coeff && DoneAdvertisedBenefit)