From 5ccd9cd92ca91c6b205d3171ada2dc0e0ffe5d03 Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Tue, 3 Mar 2026 23:05:11 -0600 Subject: [PATCH] fix(DB/Spell): Fix Seal of Command not proccing from HotR and ShoR (#24986) Co-authored-by: blinkysc --- .../pending_db_world/rev_1772562975162442679.sql | 2 ++ src/server/scripts/Spells/spell_paladin.cpp | 12 ++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1772562975162442679.sql diff --git a/data/sql/updates/pending_db_world/rev_1772562975162442679.sql b/data/sql/updates/pending_db_world/rev_1772562975162442679.sql new file mode 100644 index 000000000..05168fb7a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1772562975162442679.sql @@ -0,0 +1,2 @@ +-- Fix Seal of Command (20375) not proccing from HotR and ShoR +UPDATE `spell_proc` SET `SchoolMask` = 0, `SpellFamilyName` = 10, `SpellFamilyMask1` = 0x168000 WHERE `SpellId` = 20375; diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 8da044d6e..539d003b2 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -190,14 +190,10 @@ class spell_pal_seal_of_command_aura : public AuraScript void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo) { PreventDefaultAction(); - int32 targets = 3; - if (SpellInfo const* procSpell = eventInfo.GetSpellInfo()) - { - if (procSpell->IsAffectingArea()) - { - targets = 1; - } - } + // Only auto-attacks (no spell info) should trigger SoC's cleave. + // Spells like HotR/ShoR should proc SoC but not cleave. + // Judgement cleave is handled separately via JotJ code path. + int32 targets = eventInfo.GetSpellInfo() ? 1 : 3; Unit* target = eventInfo.GetActionTarget(); if (target->IsAlive())