Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions data/sql/updates/pending_db_world/rev_1761714420819230900.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
-- Hellfire Peninsula - Pools of Aggonar ooze aggro linking
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (SELECT `guid` FROM `creature` WHERE `id1` = 16901);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES
(58465, 58465, 3), (58465, 58498, 3), (58465, 58499, 3),
(58466, 58466, 3), (58466, 58500, 3), (58466, 58504, 3),
(58467, 58467, 3), (58467, 58501, 3), (58467, 58503, 3),
(58468, 58468, 3), (58468, 58561, 3), (58468, 58562, 3),
(58469, 58469, 3), (58469, 58507, 3), (58469, 58508, 3),
(58470, 58470, 3), (58470, 58509, 3), (58470, 58510, 3),
(58471, 58471, 3), (58471, 58502, 3), (58471, 58787, 3),
(58786, 58786, 3), (58786, 58513, 3), (58786, 58514, 3),
(58472, 58472, 3), (58472, 58511, 3), (58472, 58512, 3),
(58473, 58473, 3), (58473, 58515, 3), (58473, 58516, 3),
(58474, 58474, 3), (58474, 58517, 3), (58474, 58518, 3),
(58475, 58475, 3), (58475, 58519, 3), (58475, 58520, 3),
(58476, 58476, 3), (58476, 58521, 3), (58476, 58522, 3),
(58477, 58477, 3), (58477, 58523, 3), (58477, 58524, 3),
(58478, 58478, 3), (58478, 58525, 3), (58478, 58526, 3),
(58479, 58479, 3), (58479, 58527, 3), (58479, 58528, 3),
(58480, 58480, 3), (58480, 58529, 3), (58480, 58530, 3),
(58481, 58481, 3), (58481, 58531, 3), (58481, 58532, 3),
(58482, 58482, 3), (58482, 58535, 3), (58482, 58536, 3),
(58483, 58483, 3), (58483, 58533, 3), (58483, 58534, 3),
(58484, 58484, 3), (58484, 58537, 3), (58484, 58538, 3),
(58485, 58485, 3), (58485, 58539, 3), (58485, 58540, 3),
(58486, 58486, 3), (58486, 58541, 3), (58486, 58542, 3),
(58487, 58487, 3), (58487, 58543, 3), (58487, 58544, 3),
(58488, 58488, 3), (58488, 58545, 3), (58488, 58546, 3),
(58489, 58489, 3), (58489, 58552, 3), (58489, 58553, 3),
(58490, 58490, 3), (58490, 58554, 3), (58490, 58547, 3),
(58491, 58491, 3), (58491, 58549, 3), (58491, 58548, 3),
(58492, 58492, 3), (58492, 58550, 3), (58492, 58551, 3),
(58493, 58493, 3), (58493, 58555, 3), (58493, 58556, 3),
(58494, 58494, 3), (58494, 58557, 3), (58494, 58558, 3),
(58495, 58495, 3), (58495, 58559, 3), (58495, 58560, 3),
(58496, 58496, 3), (58496, 58505, 3), (58496, 58506, 3),
(58497, 58497, 3), (58497, 58563, 3), (58497, 58564, 3);

-- Reposition oozes to be closer to group members
UPDATE `creature` SET `position_x`=381.658, `position_y`=3482.38, `position_z`=61.609, `orientation`=5.43889 WHERE `guid` = 58496;
UPDATE `creature` SET `position_x`=361.194, `position_y`=3460.88, `position_z`=60.7696, `orientation`=1.22522 WHERE `guid` = 58501;
UPDATE `creature` SET `position_x`=363.189, `position_y`=3467.19, `position_z`=60.2405, `orientation`=4.88126 WHERE `guid` = 58503;

-- New creatures
DELETE FROM `creature` WHERE `guid` IN (58786,58787);
INSERT INTO `creature` VALUES
-- Add 1 big ooze to group of 2 small
(58786, 16901, 0, 0, 530, 0, 0, 1, 1, 0, 253.959, 3520.59, 64.9662, 4.6574, 300, 0, 0, 4385, 0, 0, 0, 0, 0, '', NULL, 0, NULL),
-- Add 1 small ooze to group of 1 big/1 small
(58787, 16903, 0, 0, 530, 0, 0, 1, 1, 0, 280.581, 3430.04, 66.0011, 5.03439, 300, 0, 0, 258, 0, 0, 0, 0, 0, '', NULL, 0, NULL);

-- Make all oozes wander
UPDATE `creature` SET `MovementType` = 1, `wander_distance` = 5 WHERE `id1` IN (16901,16903);

-- Make all Terrorfiends wander
UPDATE `creature` SET `MovementType` = 1, `wander_distance` = 5 WHERE `id1` = 16951;