From 13b23397f5618a83e93ac00bf2a0777940c722e3 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:17:48 +0100 Subject: [PATCH 01/14] fix(DB/Creature): Script Sawemba (#14920) --- .../updates/pending_db_world/rev_1675980081777637000.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675980081777637000.sql diff --git a/data/sql/updates/pending_db_world/rev_1675980081777637000.sql b/data/sql/updates/pending_db_world/rev_1675980081777637000.sql new file mode 100644 index 000000000..59f705d93 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675980081777637000.sql @@ -0,0 +1,9 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (35008); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 35008 AND `id` IN (0,1,2,3); -- Sawemba +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(35008, 0, 0, 0, 23, 0, 100, 0, 12544, 0, 3000, 3000, 0, 11, 12544, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sawemba - On missing aura - Cast \'Frost Armor\''), +(35008, 0, 1, 0, 0, 0, 100, 0, 1000, 2000, 3000, 4000, 0, 11, 20692, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sawemba - IC - Cast Fireball'), +(35008, 0, 2, 0, 0, 0, 100, 0, 4000, 6000, 6000, 8000, 0, 11, 38534, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sawemba - IC - Cast Frostbolt'), +(35008, 0, 3, 0, 0, 0, 100, 0, 8000, 12000, 15000, 20000, 0, 11, 38896, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sawemba - IC - Cast Polymorph'); From a56f5fc075c7d3508b9b409e0d08780f3b25b291 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:18:26 +0100 Subject: [PATCH 02/14] fix(DB/SAI): Misc SAI updates (#14927) --- .../sql/updates/pending_db_world/rev_1675982982263104100.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675982982263104100.sql diff --git a/data/sql/updates/pending_db_world/rev_1675982982263104100.sql b/data/sql/updates/pending_db_world/rev_1675982982263104100.sql new file mode 100644 index 000000000..9884ce2a8 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675982982263104100.sql @@ -0,0 +1,5 @@ +-- + +UPDATE `smart_scripts` SET `target_type`=21, `target_param1`=30 WHERE `entryorguid` IN (2832700) AND `source_type`=9 AND `id` IN (0,1,2); +UPDATE `smart_scripts` SET `action_type`=69, `target_type`=8, `target_x`=5355.424805, `target_y`=4486.478027, `target_z`=-120.716667 WHERE `entryorguid` IN (2832700) AND `source_type`=9 AND `id` IN (4); +UPDATE `smart_scripts` SET `action_param4`=1 WHERE `entryorguid` IN (28327) AND `source_type`=0 AND `id` IN (1); From 0b92d21ac0a95bdc1891f56adeaa05808602bfd4 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:18:54 +0100 Subject: [PATCH 03/14] fix(DB/Creature): Knight-Lieutenant T'Maire Sydes (#14928) --- .../rev_1675983083671842600.sql | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675983083671842600.sql diff --git a/data/sql/updates/pending_db_world/rev_1675983083671842600.sql b/data/sql/updates/pending_db_world/rev_1675983083671842600.sql new file mode 100644 index 000000000..d8a209419 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675983083671842600.sql @@ -0,0 +1,95 @@ +-- + +UPDATE `creature` SET `id1`=40607 WHERE `guid`=133917 AND `id1` = 34084; +DELETE FROM `npc_vendor` WHERE `entry`=40607; +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES +(40607, 0, 40787, 0, 0, 2959, 0), +(40607, 0, 40788, 0, 0, 2959, 0), +(40607, 0, 40789, 0, 0, 2959, 0), +(40607, 0, 40807, 0, 0, 2960, 0), +(40607, 0, 40808, 0, 0, 2960, 0), +(40607, 0, 40809, 0, 0, 2960, 0), +(40607, 0, 40826, 0, 0, 2959, 0), +(40607, 0, 40827, 0, 0, 2959, 0), +(40607, 0, 40828, 0, 0, 2959, 0), +(40607, 0, 40847, 0, 0, 2958, 0), +(40607, 0, 40848, 0, 0, 2958, 0), +(40607, 0, 40849, 0, 0, 2958, 0), +(40607, 0, 40866, 0, 0, 2958, 0), +(40607, 0, 40868, 0, 0, 2958, 0), +(40607, 0, 40869, 0, 0, 2958, 0), +(40607, 0, 40907, 0, 0, 2959, 0), +(40607, 0, 40927, 0, 0, 2960, 0), +(40607, 0, 40933, 0, 0, 2959, 0), +(40607, 0, 40939, 0, 0, 2958, 0), +(40607, 0, 40963, 0, 0, 2958, 0), +(40607, 0, 40992, 0, 0, 2959, 0), +(40607, 0, 40993, 0, 0, 2959, 0), +(40607, 0, 41001, 0, 0, 2960, 0), +(40607, 0, 41007, 0, 0, 2960, 0), +(40607, 0, 41013, 0, 0, 2959, 0), +(40607, 0, 41019, 0, 0, 2959, 0), +(40607, 0, 41027, 0, 0, 2958, 0), +(40607, 0, 41033, 0, 0, 2958, 0), +(40607, 0, 41038, 0, 0, 2958, 0), +(40607, 0, 41044, 0, 0, 2958, 0), +(40607, 0, 41081, 0, 0, 2959, 0), +(40607, 0, 41087, 0, 0, 2959, 0), +(40607, 0, 41137, 0, 0, 2960, 0), +(40607, 0, 41143, 0, 0, 2960, 0), +(40607, 0, 41151, 0, 0, 2959, 0), +(40607, 0, 41157, 0, 0, 2959, 0), +(40607, 0, 41199, 0, 0, 2958, 0), +(40607, 0, 41205, 0, 0, 2958, 0), +(40607, 0, 41211, 0, 0, 2958, 0), +(40607, 0, 41217, 0, 0, 2958, 0), +(40607, 0, 41275, 0, 0, 2958, 0), +(40607, 0, 41281, 0, 0, 2958, 0), +(40607, 0, 41287, 0, 0, 2960, 0), +(40607, 0, 41293, 0, 0, 2960, 0), +(40607, 0, 41298, 0, 0, 2958, 0), +(40607, 0, 41304, 0, 0, 2958, 0), +(40607, 0, 41310, 0, 0, 2959, 0), +(40607, 0, 41316, 0, 0, 2959, 0), +(40607, 0, 41321, 0, 0, 2959, 0), +(40607, 0, 41327, 0, 0, 2959, 0), +(40607, 0, 41650, 0, 0, 2959, 0), +(40607, 0, 41655, 0, 0, 2958, 0), +(40607, 0, 41661, 0, 0, 2959, 0), +(40607, 0, 41667, 0, 0, 2958, 0), +(40607, 0, 41672, 0, 0, 2959, 0), +(40607, 0, 41678, 0, 0, 2959, 0), +(40607, 0, 41683, 0, 0, 2958, 0), +(40607, 0, 41715, 0, 0, 2958, 0), +(40607, 0, 41767, 0, 0, 2960, 0), +(40607, 0, 41773, 0, 0, 2960, 0), +(40607, 0, 41854, 0, 0, 2959, 0), +(40607, 0, 41859, 0, 0, 2959, 0), +(40607, 0, 41864, 0, 0, 2958, 0), +(40607, 0, 41869, 0, 0, 2958, 0), +(40607, 0, 41874, 0, 0, 2960, 0), +(40607, 0, 41915, 0, 0, 2959, 0), +(40607, 0, 41921, 0, 0, 2959, 0), +(40607, 0, 41927, 0, 0, 2958, 0), +(40607, 0, 41934, 0, 0, 2958, 0), +(40607, 0, 41940, 0, 0, 2960, 0), +(40607, 0, 41946, 0, 0, 2959, 0), +(40607, 0, 41953, 0, 0, 2959, 0), +(40607, 0, 41959, 0, 0, 2958, 0), +(40607, 0, 41965, 0, 0, 2958, 0), +(40607, 0, 41971, 0, 0, 2960, 0), +(40607, 0, 41993, 0, 0, 2959, 0), +(40607, 0, 41998, 0, 0, 2959, 0), +(40607, 0, 42005, 0, 0, 2958, 0), +(40607, 0, 42011, 0, 0, 2958, 0), +(40607, 0, 42017, 0, 0, 2960, 0), +(40607, 0, 42579, 0, 0, 2969, 0), +(40607, 0, 42584, 0, 0, 2969, 0), +(40607, 0, 42589, 0, 0, 2969, 0), +(40607, 0, 42598, 0, 0, 2969, 0), +(40607, 0, 42603, 0, 0, 2969, 0), +(40607, 0, 42608, 0, 0, 2969, 0), +(40607, 0, 42615, 0, 0, 2969, 0), +(40607, 0, 42621, 0, 0, 2969, 0), +(40607, 0, 42853, 0, 0, 2969, 0), +(40607, 0, 45706, 0, 0, 2596, 0); From 99acf12515ecd3473eccfd20d58b6528f37a4e52 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Fri, 10 Feb 2023 08:21:35 +0000 Subject: [PATCH 04/14] chore(DB): import pending files Referenced commit(s): 0b92d21ac0a95bdc1891f56adeaa05808602bfd4 --- .../rev_1675980081777637000.sql => db_world/2023_02_10_00.sql} | 1 + .../rev_1675982982263104100.sql => db_world/2023_02_10_01.sql} | 1 + .../rev_1675983083671842600.sql => db_world/2023_02_10_02.sql} | 1 + 3 files changed, 3 insertions(+) rename data/sql/updates/{pending_db_world/rev_1675980081777637000.sql => db_world/2023_02_10_00.sql} (96%) rename data/sql/updates/{pending_db_world/rev_1675982982263104100.sql => db_world/2023_02_10_01.sql} (91%) rename data/sql/updates/{pending_db_world/rev_1675983083671842600.sql => db_world/2023_02_10_02.sql} (98%) diff --git a/data/sql/updates/pending_db_world/rev_1675980081777637000.sql b/data/sql/updates/db_world/2023_02_10_00.sql similarity index 96% rename from data/sql/updates/pending_db_world/rev_1675980081777637000.sql rename to data/sql/updates/db_world/2023_02_10_00.sql index 59f705d93..fcad57312 100644 --- a/data/sql/updates/pending_db_world/rev_1675980081777637000.sql +++ b/data/sql/updates/db_world/2023_02_10_00.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_09_00 -> 2023_02_10_00 -- UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (35008); diff --git a/data/sql/updates/pending_db_world/rev_1675982982263104100.sql b/data/sql/updates/db_world/2023_02_10_01.sql similarity index 91% rename from data/sql/updates/pending_db_world/rev_1675982982263104100.sql rename to data/sql/updates/db_world/2023_02_10_01.sql index 9884ce2a8..99b873fff 100644 --- a/data/sql/updates/pending_db_world/rev_1675982982263104100.sql +++ b/data/sql/updates/db_world/2023_02_10_01.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_10_00 -> 2023_02_10_01 -- UPDATE `smart_scripts` SET `target_type`=21, `target_param1`=30 WHERE `entryorguid` IN (2832700) AND `source_type`=9 AND `id` IN (0,1,2); diff --git a/data/sql/updates/pending_db_world/rev_1675983083671842600.sql b/data/sql/updates/db_world/2023_02_10_02.sql similarity index 98% rename from data/sql/updates/pending_db_world/rev_1675983083671842600.sql rename to data/sql/updates/db_world/2023_02_10_02.sql index d8a209419..ae576fa8f 100644 --- a/data/sql/updates/pending_db_world/rev_1675983083671842600.sql +++ b/data/sql/updates/db_world/2023_02_10_02.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_10_01 -> 2023_02_10_02 -- UPDATE `creature` SET `id1`=40607 WHERE `guid`=133917 AND `id1` = 34084; From 73c79fb8a9056fd424aadfb252a45aabb90d6a12 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:52:31 +0100 Subject: [PATCH 05/14] fix(DB/SAI): Script Magister Savarin (#14921) --- .../updates/pending_db_world/rev_1675980251209377200.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675980251209377200.sql diff --git a/data/sql/updates/pending_db_world/rev_1675980251209377200.sql b/data/sql/updates/pending_db_world/rev_1675980251209377200.sql new file mode 100644 index 000000000..0d5d1e6c8 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675980251209377200.sql @@ -0,0 +1,9 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (35602); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 35602 AND `id` IN (0,1,2,3); -- Magister Savarin +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(35602, 0, 0, 0, 23, 0, 100, 0, 12544, 0, 3000, 3000, 0, 11, 12544, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Magister Savarin - On missing aura - Cast \'Frost Armor\''), +(35602, 0, 1, 0, 0, 0, 100, 0, 1000, 2000, 3000, 4000, 0, 11, 20692, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Magister Savarin - IC - Cast Fireball'), +(35602, 0, 2, 0, 0, 0, 100, 0, 4000, 6000, 6000, 8000, 0, 11, 38534, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Magister Savarin - IC - Cast Frostbolt'), +(35602, 0, 3, 0, 0, 0, 100, 0, 8000, 12000, 15000, 20000, 0, 11, 38896, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Magister Savarin - IC - Cast Polymorph'); From 57bb13a1bb3790ef0ea3cf95e48ca54a9bc69417 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Fri, 10 Feb 2023 08:55:00 +0000 Subject: [PATCH 06/14] chore(DB): import pending files Referenced commit(s): 73c79fb8a9056fd424aadfb252a45aabb90d6a12 --- .../rev_1675980251209377200.sql => db_world/2023_02_10_03.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1675980251209377200.sql => db_world/2023_02_10_03.sql} (96%) diff --git a/data/sql/updates/pending_db_world/rev_1675980251209377200.sql b/data/sql/updates/db_world/2023_02_10_03.sql similarity index 96% rename from data/sql/updates/pending_db_world/rev_1675980251209377200.sql rename to data/sql/updates/db_world/2023_02_10_03.sql index 0d5d1e6c8..93eaebf9e 100644 --- a/data/sql/updates/pending_db_world/rev_1675980251209377200.sql +++ b/data/sql/updates/db_world/2023_02_10_03.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_10_02 -> 2023_02_10_03 -- UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (35602); From acfec9e3781f789034d24e78bfb80c32f7022189 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:15:38 +0100 Subject: [PATCH 07/14] fix(DB/Creature): Spawn Floating Skull (#14931) --- .../updates/pending_db_world/rev_1675983759485500400.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675983759485500400.sql diff --git a/data/sql/updates/pending_db_world/rev_1675983759485500400.sql b/data/sql/updates/pending_db_world/rev_1675983759485500400.sql new file mode 100644 index 000000000..c3c541ec7 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675983759485500400.sql @@ -0,0 +1,8 @@ +-- +DELETE FROM `creature` WHERE `guid` IN (106326) AND `id1` IN (21365); +INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(106326, 21365, 530, 0, 0, 1, 1, 0, 38.3723, 2121.23, 128.975, 2.80337, 600, 0, 0, 42, 0, 0, 0, 0, 0, 0); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (21365); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(21365, '36725 36727'); From 983614a0f7508f622da97330235eb1c44255554e Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:16:18 +0100 Subject: [PATCH 08/14] fix(DB/Creature): Spawn Warsong Hold Mount (#14930) --- .../updates/pending_db_world/rev_1675983591397096200.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675983591397096200.sql diff --git a/data/sql/updates/pending_db_world/rev_1675983591397096200.sql b/data/sql/updates/pending_db_world/rev_1675983591397096200.sql new file mode 100644 index 000000000..9797de397 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675983591397096200.sql @@ -0,0 +1,7 @@ +-- + +DELETE FROM `creature` WHERE `guid` IN (104173, 104174, 104175); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`) VALUES +(104173, 18378, 571, 1, 1, 0, 2750.36, 6127.08, 208.856, 5.44543, 180, 0, 0, 4050, 0, 0), +(104174, 18379, 571, 1, 1, 0, 2761.16, 6137.27, 208.872, 5.35816, 180, 0, 0, 4050, 0, 0), +(104175, 18380, 571, 1, 1, 0, 2779.98, 6154.28, 208.92, 5.35816, 180, 0, 0, 4050, 0, 0); From d538277b3ed07104bfa1a579b14b139c6cb434bf Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Fri, 10 Feb 2023 13:18:47 +0000 Subject: [PATCH 09/14] chore(DB): import pending files Referenced commit(s): 983614a0f7508f622da97330235eb1c44255554e --- .../rev_1675983591397096200.sql => db_world/2023_02_10_04.sql} | 1 + .../rev_1675983759485500400.sql => db_world/2023_02_10_05.sql} | 1 + 2 files changed, 2 insertions(+) rename data/sql/updates/{pending_db_world/rev_1675983591397096200.sql => db_world/2023_02_10_04.sql} (93%) rename data/sql/updates/{pending_db_world/rev_1675983759485500400.sql => db_world/2023_02_10_05.sql} (93%) diff --git a/data/sql/updates/pending_db_world/rev_1675983591397096200.sql b/data/sql/updates/db_world/2023_02_10_04.sql similarity index 93% rename from data/sql/updates/pending_db_world/rev_1675983591397096200.sql rename to data/sql/updates/db_world/2023_02_10_04.sql index 9797de397..db25fc5e9 100644 --- a/data/sql/updates/pending_db_world/rev_1675983591397096200.sql +++ b/data/sql/updates/db_world/2023_02_10_04.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_10_03 -> 2023_02_10_04 -- DELETE FROM `creature` WHERE `guid` IN (104173, 104174, 104175); diff --git a/data/sql/updates/pending_db_world/rev_1675983759485500400.sql b/data/sql/updates/db_world/2023_02_10_05.sql similarity index 93% rename from data/sql/updates/pending_db_world/rev_1675983759485500400.sql rename to data/sql/updates/db_world/2023_02_10_05.sql index c3c541ec7..7d0f123e8 100644 --- a/data/sql/updates/pending_db_world/rev_1675983759485500400.sql +++ b/data/sql/updates/db_world/2023_02_10_05.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_10_04 -> 2023_02_10_05 -- DELETE FROM `creature` WHERE `guid` IN (106326) AND `id1` IN (21365); INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES From 1738e242e49869687c9ef1c8a08baeebd964ecd9 Mon Sep 17 00:00:00 2001 From: Angelo Venturini Date: Fri, 10 Feb 2023 10:54:36 -0300 Subject: [PATCH 10/14] fix(Scripts/Netherstorm): Crash in Netherstorm (#14934) --- src/server/scripts/Outland/zone_netherstorm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Outland/zone_netherstorm.cpp b/src/server/scripts/Outland/zone_netherstorm.cpp index 980d00719..97aadbe9c 100644 --- a/src/server/scripts/Outland/zone_netherstorm.cpp +++ b/src/server/scripts/Outland/zone_netherstorm.cpp @@ -834,7 +834,7 @@ public: _actionEvents.ScheduleEvent(EVENT_KAYLAAN_RESSURECTION, 1000); break; case EVENT_KAYLAAN_RESSURECTION: - if (GetCreature(KAYLAAN_THE_LOST)) + if (GetCreature(KAYLAAN_THE_LOST) && GetCreature(ISHANAH_HIGH_PRIESTESS)) kaylaan->CastSpell(ishanah, REDEMPTION); _actionEvents.ScheduleEvent(EVENT_ISHANAH_IS_BACK_AGAIN, 11000); break; From 9deb8fecb7695c566ccc3e6f7f93954c4efdb47a Mon Sep 17 00:00:00 2001 From: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:18:23 -0500 Subject: [PATCH 11/14] fix(DB/Creature): Remove bleed immunity from Escape from Durnholde bosses. (#14937) --- data/sql/updates/pending_db_world/durnholde-immunity.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 data/sql/updates/pending_db_world/durnholde-immunity.sql diff --git a/data/sql/updates/pending_db_world/durnholde-immunity.sql b/data/sql/updates/pending_db_world/durnholde-immunity.sql new file mode 100644 index 000000000..4d984ffd6 --- /dev/null +++ b/data/sql/updates/pending_db_world/durnholde-immunity.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask` &~ 16384 WHERE `entry` IN (17848, 17862, 18096, 20521, 20531, 20535); From b09d81f90b77af214e369403ee8cb2c99813485f Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Fri, 10 Feb 2023 21:21:02 +0000 Subject: [PATCH 12/14] chore(DB): import pending files Referenced commit(s): 9deb8fecb7695c566ccc3e6f7f93954c4efdb47a --- .../durnholde-immunity.sql => db_world/2023_02_10_06.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/durnholde-immunity.sql => db_world/2023_02_10_06.sql} (77%) diff --git a/data/sql/updates/pending_db_world/durnholde-immunity.sql b/data/sql/updates/db_world/2023_02_10_06.sql similarity index 77% rename from data/sql/updates/pending_db_world/durnholde-immunity.sql rename to data/sql/updates/db_world/2023_02_10_06.sql index 4d984ffd6..a1ef13924 100644 --- a/data/sql/updates/pending_db_world/durnholde-immunity.sql +++ b/data/sql/updates/db_world/2023_02_10_06.sql @@ -1 +1,2 @@ +-- DB update 2023_02_10_05 -> 2023_02_10_06 UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask` &~ 16384 WHERE `entry` IN (17848, 17862, 18096, 20521, 20531, 20535); From 4ec8af5bbb788b1fb8b44692e9fda7e94bea3ac3 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:30:44 +0100 Subject: [PATCH 13/14] fix(DB/SAI): Script Wyrmcaller Vile (#14922) --- .../rev_1675980334913373700.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1675980334913373700.sql diff --git a/data/sql/updates/pending_db_world/rev_1675980334913373700.sql b/data/sql/updates/pending_db_world/rev_1675980334913373700.sql new file mode 100644 index 000000000..fedd44a23 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675980334913373700.sql @@ -0,0 +1,17 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (24029); + + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 24029 AND `id` IN (0,1,2,3,4,5); -- Wyrmcaller Vile +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES + +(24029, 0, 0, 0, 1, 0, 100, 513, 0, 0, 3000, 3000, 0, 11, 43576, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wyrmcaller Vile - OOC - Cast \'Frost Power\''), +(24029, 0, 1, 0, 0, 0, 100, 0, 0, 0, 4000, 4000, 0, 11, 9672, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Wyrmcaller Vile - IC - Cast \'Frostbolt\''), +(24029, 0, 2, 0, 0, 0, 100, 0, 0, 0, 6000, 10000, 0, 11, 15532, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Wyrmcaller Vile - IC - Cast \'Frost Nova\''), +(24029, 0, 3, 0, 1, 0, 100, 512, 0, 0, 3000, 3000, 0, 45, 0, 1, 0, 0, 0, 0, 19, 23033, 10, 0, 0, 0, 0, 0, 0, 'Wyrmcaller Vile - OOC - Cast \'Set Data\''), +(24029, 0, 4, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wyrmcaller Vile - On Aggro - Say Line 0'), +(24029, 0, 5, 0, 23, 0, 100, 0, 12544, 0, 3000, 3000, 0, 11, 12544, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wyrmcaller Vile - On missing aura - Cast Frost Armor'); + +DELETE FROM `creature_text` WHERE `CreatureID`=24029 AND `GroupID`=0 AND `ID`=0; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(24029, 0, 0, 'Did you really think that by facing me, you have any hope of saving your friends?', 12, 0, 100, 0, 0, 0, 23696, 0, 'Wyrmcaller Vile'); From d336b63f50e8cbf0ba00c3e29ec67c7d0243f688 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Fri, 10 Feb 2023 21:33:14 +0000 Subject: [PATCH 14/14] chore(DB): import pending files Referenced commit(s): 4ec8af5bbb788b1fb8b44692e9fda7e94bea3ac3 --- .../rev_1675980334913373700.sql => db_world/2023_02_10_07.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1675980334913373700.sql => db_world/2023_02_10_07.sql} (97%) diff --git a/data/sql/updates/pending_db_world/rev_1675980334913373700.sql b/data/sql/updates/db_world/2023_02_10_07.sql similarity index 97% rename from data/sql/updates/pending_db_world/rev_1675980334913373700.sql rename to data/sql/updates/db_world/2023_02_10_07.sql index fedd44a23..4d789fc0a 100644 --- a/data/sql/updates/pending_db_world/rev_1675980334913373700.sql +++ b/data/sql/updates/db_world/2023_02_10_07.sql @@ -1,3 +1,4 @@ +-- DB update 2023_02_10_06 -> 2023_02_10_07 -- UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (24029);