Skip to content

Commit fab59ab

Browse files
committed
DB: Fix db startup errors related to 48baec0
Closes #30704
1 parent 114b84d commit fab59ab

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pal_seal_of_righteousness';
2+
DELETE FROM `spell_script_names` WHERE `spell_id`=21084 AND `ScriptName`='spell_pal_seals';
3+
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
4+
(-20154,'spell_pal_seal_of_righteousness'),
5+
(-20154,'spell_pal_seals');

src/server/scripts/Spells/spell_paladin.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,7 @@ class spell_pal_seal_of_vengeance : public SpellScriptLoader
17851785
};
17861786

17871787
// 20375 - Seal of Command
1788+
// 20154 - Seal of Righteousness
17881789
// 21084 - Seal of Righteousness
17891790
// 31801 - Seal of Vengeance
17901791
// 31892 - Seal of Blood
@@ -1805,6 +1806,9 @@ class spell_pal_seals : public AuraScript
18051806

18061807
void Register() override
18071808
{
1809+
if (m_scriptSpellId == 20154)
1810+
return; // another console log prevention hack - first "rank" of Seal of Righteousness doesn't have the judgement effect
1811+
18081812
DoCheckEffectProc += AuraCheckEffectProcFn(spell_pal_seals::CheckDummyProc, EFFECT_2, SPELL_AURA_DUMMY);
18091813
}
18101814
};

0 commit comments

Comments
 (0)