Skip to content

Commit

Permalink
fix queries
Browse files Browse the repository at this point in the history
  • Loading branch information
sogladev committed Jul 5, 2024
1 parent e7899ad commit 77fd820
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Naxxramas/sql/world/naxx40_creatures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4678,10 +4678,10 @@ INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`,

UPDATE `creature` SET `equipment_id` = 1 WHERE `id1` IN (16451, 16452, 16157, 16158, 16861);
UPDATE `creature` SET `equipment_id` = 1 WHERE `id1` IN
(@ENTRY+006, @ENTRY+007, @ENTRY+036, @ENTRY+037, @ENTRY+038, @ENTRY+039, @ENTRY+040,
@ENTRY+044, @ENTRY+045, @ENTRY+048, @ENTRY+049, @ENTRY+050, @ENTRY+052, @ENTRY+053,
@ENTRY+054, @ENTRY+055, @ENTRY+057, @ENTRY+060, @ENTRY+061, @ENTRY+062, @ENTRY+063,
@ENTRY+070, @ENTRY+080, @ENTRY+084, @ENTRY+085, @ENTRY+086, @ENTRY+087);
(@ENTRY+005, @ENTRY+007, @ENTRY+036, @ENTRY+037, @ENTRY+038, @ENTRY+039, @ENTRY+040, @ENTRY+044,
@ENTRY+045, @ENTRY+048, @ENTRY+049, @ENTRY+050, @ENTRY+052, @ENTRY+053, @ENTRY+054, @ENTRY+055,
@ENTRY+057, @ENTRY+060, @ENTRY+061, @ENTRY+062, @ENTRY+063, @ENTRY+070, @ENTRY+080, @ENTRY+084,
@ENTRY+085, @ENTRY+086, @ENTRY+087);
DELETE FROM `creature_addon` WHERE `guid` IN
(@CGUID+473, @CGUID+478, @CGUID+482, @CGUID+487, @CGUID+491, @CGUID+495, @CGUID+500, @CGUID+505,
@CGUID+509, @CGUID+513, @CGUID+518, @CGUID+522, @CGUID+539, @CGUID+540, @CGUID+541, @CGUID+542,
Expand Down
4 changes: 2 additions & 2 deletions src/Naxxramas/sql/world/naxx40_frozen_runes.sql
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- Custom GUIDs
-- `GUID` [5330300,5330508]
SET @GUID:=5330300
SET @GUID:=5330300;
-- `ENTRY` [47850,47870]
SET @ENTRY:=47850 -- pool_template
SET @ENTRY:=47850; -- pool_template

-- Only spawn Frozen Rune in Naxx40
UPDATE `gameobject` SET `spawnMask` = 4 WHERE `id` = 181287;
Expand Down
2 changes: 1 addition & 1 deletion src/Naxxramas/sql/world/naxx40_gameobjects.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- `gameobject_template` 361000, 361001, 193166
-- `gameobject` 181056, 193166
SET @ENTRY:=361000;
SET @GUID:=5330300
SET @GUID:=5330300;

SET @ENTRY_GO:=@ENTRY+000;
SET @GUID_GO:=@GUID+209;
Expand Down

0 comments on commit 77fd820

Please sign in to comment.