Skip to content

Commit

Permalink
[Instance] Add Name to creature_spawn_data_template used by Instanc…
Browse files Browse the repository at this point in the history
…e Files (#1125)

Co-authored-by: XandrKhv <xandrkhv@gmail.com>
  • Loading branch information
XandrKhv and XandrKhv committed Apr 15, 2023
1 parent 33b89ab commit c9d9231
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Updates/Instances/543_hellfire_ramparts.sql
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ INSERT INTO `creature_spawn_entry` (`guid`, `entry`) VALUES
(@CGUID+44, 17269), (@CGUID+44, 17270); -- Bleeding Hollow Darkcaster, Bleeding Hollow Archer

-- Worker Equipment
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`) VALUES (1725901, 1725901); -- Bonechewer Hungerer
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (1725901, 1725901, 'Bonechewer Hungerer (17259) - RelayScript (1725901)'); -- Bonechewer Hungerer
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 1725901 FROM `creature` WHERE `guid` IN (@CGUID+16,@CGUID+17);
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`) VALUES (1726401, 1726401); -- Bonechewer Ravener
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (1726401, 1726401, 'Bonechewer Ravener (17264) - RelayScript (1726401)'); -- Bonechewer Ravener
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 1726401 FROM `creature` WHERE `guid` IN (@CGUID+24,@CGUID+25);

-- ===========
Expand Down
2 changes: 1 addition & 1 deletion Updates/Instances/545_steamvault.sql
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `positio
(@CGUID+180, 0, 545, 3, 39.04907, -237.2698, -22.68699, 5.043978, 7200, 7200, 2, 1), -- creature_spawn_entry
(@CGUID+181, 0, 545, 3, -17.88705, -184.7918, -21.95631, 1.973065, 7200, 7200, 2, 1); -- creature_spawn_entry

REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`) VALUES (1772101, 1772101);
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (1772101, 1772101, 'Coilfang Engineer (17721) - RelayScript (1772101)');
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 1772101 FROM `creature` WHERE `guid` IN (@CGUID+21,@CGUID+22);

-- ===========
Expand Down
4 changes: 2 additions & 2 deletions Updates/Instances/548_serpentshrine_cavern.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1258,10 +1258,10 @@ INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `positio
(@CGUID+290, 21212, 548, 1, 29.99015, -922.4088, 42.98521, 1.396263, 604800, 604800, 0, 0); -- Lady Vashj

-- Greyheart Nether-Mage/Tidecaller - 1 hammer
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`) VALUES (2122901, 2122901);
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (2122901, 2122901, 'Greyheart Tidecaller (21229) | Greyheart Nether-Mage (21230) - RelayScript (2122901)');
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 2122901 FROM `creature` WHERE `guid` IN (@CGUID+93,@CGUID+95,@CGUID+108,@CGUID+110,@CGUID+119);
-- Greyheart Skulker - 1 dagger and 1 hammer
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`) VALUES (2123201, 2123201);
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (2123201, 2123201, 'Greyheart Skulker (21232) - RelayScript (2123201)');
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 2123201 FROM `creature` WHERE `guid` IN (@CGUID+131,@CGUID+134,@CGUID+135,@CGUID+138);

-- ===========
Expand Down
2 changes: 1 addition & 1 deletion Updates/Instances/568_zulaman.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `positio
(@CGUID+520, 24223, 568, 1, 429.48010, 1371.66577, 74.41665, 5.46288, 7200, 7200, 0, 0), -- Eagle Trash Aggro Trigger
(@CGUID+521, 24223, 568, 1, 446.02258, 1354.25329, 85.51732, 5.84685, 7200, 7200, 0, 0); -- Eagle Trash Aggro Trigger

REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`) VALUES (2359701, 2359701);
REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (2359701, 2359701, 'Amani\'shi Guardian (23597) - RelayScript (2359701)');
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 2359701 FROM `creature` WHERE `guid` IN (@CGUID+104); -- Amanishi Guardian (starts holding a spear for gong event RP script)

-- ===========
Expand Down

0 comments on commit c9d9231

Please sign in to comment.