Skip to content

Commit

Permalink
Remove nonexisting spell=2 from creature_template_spells
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonXS committed Jun 4, 2023
1 parent 55641c8 commit 6f6379f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Updates/0039_creature_template_spells.spell=2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- https://github.com/cmangos/mangos-tbc/pull/613
-- https://github.com/cmangos/issues/issues/3416#issuecomment-1575278870
UPDATE creature_template_spells SET spell1 = 0 WHERE spell1 = 2; -- 574
UPDATE creature_template_spells SET spell2 = 0 WHERE spell2 = 2; -- 0
UPDATE creature_template_spells SET spell3 = 0 WHERE spell3 = 2; -- 0
UPDATE creature_template_spells SET spell4 = 0 WHERE spell4 = 2; -- 0
UPDATE creature_template_spells SET spell5 = 0 WHERE spell5 = 2; -- 0
UPDATE creature_template_spells SET spell6 = 0 WHERE spell6 = 2; -- 0
UPDATE creature_template_spells SET spell7 = 0 WHERE spell7 = 2; -- 0
UPDATE creature_template_spells SET spell8 = 0 WHERE spell8 = 2; -- 0
UPDATE creature_template_spells SET spell9 = 0 WHERE spell9 = 2; -- 0
UPDATE creature_template_spells SET spell10 = 0 WHERE spell10 = 2; -- 0

DELETE FROM `creature_template_spells` WHERE `spell1` = 0 AND `spell2` = 0 AND `spell3` = 0 AND `spell4` = 0 AND `spell5` = 0 AND `spell6` = 0 AND `spell7` = 0 AND `spell8` = 0 AND `spell9` = 0 AND `spell10` = 0; -- 56

0 comments on commit 6f6379f

Please sign in to comment.