fix(DB/Formations): Update Hellfire Ramparts GroupAI and link stationary packs (#13600)

Create rev_1667120120146402200.sql
This commit is contained in:
Gultask
2022-11-01 06:15:39 -03:00
committed by GitHub
parent 200a4b6af4
commit c9d60bdbf7

View File

@@ -0,0 +1,89 @@
-- Wolves aren't parallel here
UPDATE `creature_formations` SET `angle`=270 WHERE `memberGUID`=202682 AND `leaderGUID`=202628;
-- Patrolling packs need to assist
UPDATE `creature_formations` SET `GroupAI`=515 WHERE `leaderGUID` IN (202628, 202629, 202630) AND `memberGUID` IN (202628, 202680, 202682, 202629, 202681, 202684, 202630, 202683, 202685);
-- Boss' adds should respawn on reset
UPDATE `creature_formations` SET `GroupAI`=539 WHERE `leaderGUID`=202692 AND `memberGUID` IN (202692, 202695, 202696);
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (202608,202611,202612,202614,202617,202621,202623,202626,202632,202642,202654,202655,202657,202658,202659,202660,202661,202663,202666,202667,202668,202669,202690,202691,202697) AND `memberGUID` IN (202622,202621,202617,202618,202663,202638,202639,202660,202648,202649,202659,202637,202647,202612,202678,202679,202613,202691,202702,202703,202704,202697,202665,202664,202667,202640,202641,202619,202611,202677,202676,202610,202658,202674,202636,202675,202607,202626,202673,202672,202655,202656,202657,202634,202635,202654,202645,202646,202671,202670,202608,202609,202690,202701,202700,202698,202699,202661,202662,202666,202651,202650,202642,202686,202688,202644,202614,202615,202669,202653,202652,202668,202687,202689,202643,202620,202623,202624,202632,202633) AND `GroupAI`=3;
INSERT INTO `creature_formations` (`memberGUID`, `leaderGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(202622, 202621, 0, 0, 3, 0, 0),
(202621, 202621, 0, 0, 3, 0, 0),
(202617, 202617, 0, 0, 3, 0, 0),
(202618, 202617, 0, 0, 3, 0, 0),
(202663, 202663, 0, 0, 3, 0, 0),
(202638, 202663, 0, 0, 3, 0, 0),
(202639, 202663, 0, 0, 3, 0, 0),
(202660, 202660, 0, 0, 3, 0, 0),
(202648, 202660, 0, 0, 3, 0, 0),
(202649, 202660, 0, 0, 3, 0, 0),
(202659, 202659, 0, 0, 3, 0, 0),
(202637, 202659, 0, 0, 3, 0, 0),
(202647, 202659, 0, 0, 3, 0, 0),
(202612, 202612, 0, 0, 3, 0, 0),
(202678, 202612, 0, 0, 3, 0, 0),
(202679, 202612, 0, 0, 3, 0, 0),
(202613, 202612, 0, 0, 3, 0, 0),
(202691, 202691, 0, 0, 3, 0, 0),
(202702, 202691, 0, 0, 3, 0, 0),
(202703, 202691, 0, 0, 3, 0, 0),
(202704, 202691, 0, 0, 3, 0, 0),
(202697, 202697, 0, 0, 3, 0, 0),
(202665, 202697, 0, 0, 3, 0, 0),
(202664, 202697, 0, 0, 3, 0, 0),
(202667, 202667, 0, 0, 3, 0, 0),
(202640, 202667, 0, 0, 3, 0, 0),
(202641, 202667, 0, 0, 3, 0, 0),
(202619, 202667, 0, 0, 3, 0, 0),
(202611, 202611, 0, 0, 3, 0, 0),
(202677, 202611, 0, 0, 3, 0, 0),
(202676, 202611, 0, 0, 3, 0, 0),
(202610, 202611, 0, 0, 3, 0, 0),
(202658, 202658, 0, 0, 3, 0, 0),
(202674, 202658, 0, 0, 3, 0, 0),
(202636, 202658, 0, 0, 3, 0, 0),
(202675, 202658, 0, 0, 3, 0, 0),
(202607, 202658, 0, 0, 3, 0, 0),
(202626, 202626, 0, 0, 3, 0, 0),
(202673, 202626, 0, 0, 3, 0, 0),
(202672, 202626, 0, 0, 3, 0, 0),
(202655, 202655, 0, 0, 3, 0, 0),
(202656, 202655, 0, 0, 3, 0, 0),
(202657, 202657, 0, 0, 3, 0, 0),
(202634, 202657, 0, 0, 3, 0, 0),
(202635, 202657, 0, 0, 3, 0, 0),
(202654, 202654, 0, 0, 3, 0, 0),
(202645, 202654, 0, 0, 3, 0, 0),
(202646, 202654, 0, 0, 3, 0, 0),
(202671, 202654, 0, 0, 3, 0, 0),
(202670, 202654, 0, 0, 3, 0, 0),
(202608, 202608, 0, 0, 3, 0, 0),
(202609, 202608, 0, 0, 3, 0, 0),
(202690, 202690, 0, 0, 3, 0, 0),
(202701, 202690, 0, 0, 3, 0, 0),
(202700, 202690, 0, 0, 3, 0, 0),
(202698, 202690, 0, 0, 3, 0, 0),
(202699, 202690, 0, 0, 3, 0, 0),
(202661, 202661, 0, 0, 3, 0, 0),
(202662, 202661, 0, 0, 3, 0, 0),
(202666, 202666, 0, 0, 3, 0, 0),
(202651, 202666, 0, 0, 3, 0, 0),
(202650, 202666, 0, 0, 3, 0, 0),
(202642, 202642, 0, 0, 3, 0, 0),
(202686, 202642, 0, 0, 3, 0, 0),
(202688, 202642, 0, 0, 3, 0, 0),
(202644, 202642, 0, 0, 3, 0, 0),
(202614, 202614, 0, 0, 3, 0, 0),
(202615, 202614, 0, 0, 3, 0, 0),
(202669, 202669, 0, 0, 3, 0, 0),
(202653, 202669, 0, 0, 3, 0, 0),
(202652, 202669, 0, 0, 3, 0, 0),
(202668, 202668, 0, 0, 3, 0, 0),
(202687, 202668, 0, 0, 3, 0, 0),
(202689, 202668, 0, 0, 3, 0, 0),
(202643, 202668, 0, 0, 3, 0, 0),
(202620, 202668, 0, 0, 3, 0, 0),
(202623, 202623, 0, 0, 3, 0, 0),
(202624, 202623, 0, 0, 3, 0, 0),
(202632, 202632, 0, 0, 3, 0, 0),
(202633, 202632, 0, 0, 3, 0, 0);