DB: Fix db startup errors related to 48baec04df

Closes #30704
This commit is contained in:
Shauren
2025-02-20 23:45:45 +01:00
parent 114b84d821
commit fab59abb05
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pal_seal_of_righteousness';
DELETE FROM `spell_script_names` WHERE `spell_id`=21084 AND `ScriptName`='spell_pal_seals';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(-20154,'spell_pal_seal_of_righteousness'),
(-20154,'spell_pal_seals');

View File

@@ -1785,6 +1785,7 @@ class spell_pal_seal_of_vengeance : public SpellScriptLoader
};
// 20375 - Seal of Command
// 20154 - Seal of Righteousness
// 21084 - Seal of Righteousness
// 31801 - Seal of Vengeance
// 31892 - Seal of Blood
@@ -1805,6 +1806,9 @@ class spell_pal_seals : public AuraScript
void Register() override
{
if (m_scriptSpellId == 20154)
return; // another console log prevention hack - first "rank" of Seal of Righteousness doesn't have the judgement effect
DoCheckEffectProc += AuraCheckEffectProcFn(spell_pal_seals::CheckDummyProc, EFFECT_2, SPELL_AURA_DUMMY);
}
};