fix(DB/creature) Pools of Aggonar ooze aggro linking (#23463)

Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
Degen 2026-03-15 03:48:25 -03:00 committed by GitHub
parent 098c95eec5
commit 4c5a8be832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,57 @@
-- Hellfire Peninsula - Pools of Aggonar ooze aggro linking
DELETE FROM `creature_formations` WHERE `leaderGUID` BETWEEN 58465 and 58497;
DELETE FROM `creature_formations` WHERE `leaderGUID` = 58786;
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 AND `id1` = 16901;
UPDATE `creature` SET `position_x`=361.194, `position_y`=3460.88, `position_z`=60.7696, `orientation`=1.22522 WHERE `guid` = 58501 AND `id1` = 16903;
UPDATE `creature` SET `position_x`=363.189, `position_y`=3467.19, `position_z`=60.2405, `orientation`=4.88126 WHERE `guid` = 58503 AND `id1` = 16903;
-- New creatures
DELETE FROM `creature` WHERE `guid` IN (58786,58787) AND `id1` IN (16901, 16903);
INSERT INTO `creature` (`guid`, `id1`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `curhealth`) VALUES
-- Add 1 big ooze to group of 2 small
(58786, 16901, 530, 253.959, 3520.59, 64.9662, 4.6574, 300, 4385),
-- Add 1 small ooze to group of 1 big/1 small
(58787, 16903, 530, 280.581, 3430.04, 66.0011, 5.03439, 300, 258);
-- Make stationary oozes wander
UPDATE `creature` SET `MovementType` = 1, `wander_distance` = 5 WHERE `guid` IN (58466,58468,58471,58500,58501,58502,58503,58504,58505,58513,58514,58519,58537,58538,58539,58563,58564,58786,58787) AND `id1` IN (16901,16903);
-- Make stationary Terrorfiends wander
UPDATE `creature` SET `MovementType` = 1, `wander_distance` = 5 WHERE `guid` IN (59108,59109,59111,59121) AND `id1` = 16951;