From d1c006d4dd3299c980113bb2de4e7dc903c4731a Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Wed, 5 Jan 2022 15:04:54 +0100 Subject: [PATCH] Core/Spells: Judgement will now also benefit from Two-Handed Weapon Specialization * though it's nowhere mentioned in the tooltips or effects, according to several addons and logs Judgement indeed benefits from its bonus --- src/server/scripts/Spells/spell_paladin.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 9b08326222e..9d12f8fb439 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -97,7 +97,8 @@ enum PaladinSpells SPELL_PALADIN_SEAL_OF_TRUTH_DAMAGE = 42463, SPELL_PALADIN_SEAL_OF_JUSTICE = 20164, SPELL_PALADIN_SWIFT_RETRIBUTION_R1 = 53379, - SPELL_PALADIN_TEMPLARS_VERDICT = 85256 + SPELL_PALADIN_TEMPLARS_VERDICT = 85256, + SPELL_PALADIN_TWO_HANDED_WEAPON_SPECIALIZATION = 20113 }; enum MiscSpells @@ -659,6 +660,7 @@ class spell_pal_judgement : public SpellScript SPELL_PALADIN_JUDGEMENT_OF_TRUTH, SPELL_PALADIN_JUDGEMENT_OF_RIGHTEOUSNESS, SPELL_PALADIN_CENSURE, + SPELL_PALADIN_TWO_HANDED_WEAPON_SPECIALIZATION }); } @@ -700,6 +702,10 @@ class spell_pal_judgement : public SpellScript break; } + // Though it's nowhere stated, Judgement seems to benefit from Two-Handed Weapon Specialization according to logs and many discussions in the web. + if (AuraEffect const* twoHandedSpec = caster->GetAuraEffect(SPELL_PALADIN_TWO_HANDED_WEAPON_SPECIALIZATION, EFFECT_0)) + AddPct(bp, twoHandedSpec->GetAmount()); + caster->CastSpell(target, spellId, CastSpellExtraArgs(true).AddSpellBP0(bp)); }