fix(DB/Spell): Fix Seal of Command not proccing from HotR and ShoR (#24986)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-03-03 23:05:11 -06:00
committed by GitHub
parent 17322e189d
commit 5ccd9cd92c
2 changed files with 6 additions and 8 deletions

View File

@@ -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;

View File

@@ -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())