From 8d9132adf9a4c7ecf7819846115693e5eaf15fa2 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 31 Mar 2022 21:11:11 +0200 Subject: [PATCH] Core/Spells: a3663528653f13dce0750df6f47f65e3504211e8 followup --- src/server/scripts/Spells/spell_warrior.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index f4ea69bf9aa..49b21dd6069 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -536,7 +536,7 @@ class spell_warr_slam_triggered : public SpellScript int32 basePoints = GetEffectValue(); // Bloodsurge damage bonus - if (caster->GetAuraEffect(SPELL_AURA_ADD_PCT_MODIFIER, SPELLFAMILY_WARRIOR, 0x0, 0x1000000, 0x0, caster->GetGUID()) != nullptr) + if (_affectedByBloodsurge) if (Aura const* aura = caster->GetAuraOfRankedSpell(SPELL_WARRIOR_BLOODSURGE_R1)) if (AuraEffect const* effect = aura->GetEffect(EFFECT_0)) AddPct(basePoints, effect->GetAmount());