aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/3.3.5/2025_02_20_03_world.sql5
-rw-r--r--src/server/scripts/Spells/spell_paladin.cpp4
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);
}
};