diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-02-20 23:45:45 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-02-20 23:45:45 +0100 |
commit | fab59abb05488eecccf83b8d964e07b4185200e7 (patch) | |
tree | 766e9c20535100f4bb0e897ef4cb8dba32536e39 | |
parent | 114b84d8212dd346fad28f6a7ef81c453f0be1e8 (diff) |
DB: Fix db startup errors related to 48baec04dfd3b654c945df9b4fc2e8feadad760a
Closes #30704
-rw-r--r-- | sql/updates/world/3.3.5/2025_02_20_03_world.sql | 5 | ||||
-rw-r--r-- | src/server/scripts/Spells/spell_paladin.cpp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2025_02_20_03_world.sql b/sql/updates/world/3.3.5/2025_02_20_03_world.sql new file mode 100644 index 00000000000..73a45d08d8a --- /dev/null +++ b/sql/updates/world/3.3.5/2025_02_20_03_world.sql @@ -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'); diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index d4ca85d086a..c91810158f0 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -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); } }; |