From 84295280c3fe16e337276c17511b2d1db1df3962 Mon Sep 17 00:00:00 2001 From: Eddy Vega <61223313+Si1ker@users.noreply.github.com> Date: Thu, 16 Jun 2022 09:13:11 -0600 Subject: [PATCH] fix(DB/SAI): Son of Hakkar - Poison cloud (#12036) --- .../pending_db_world/rev_1655057474773403000.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1655057474773403000.sql diff --git a/data/sql/updates/pending_db_world/rev_1655057474773403000.sql b/data/sql/updates/pending_db_world/rev_1655057474773403000.sql new file mode 100644 index 000000000..4df62e01f --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1655057474773403000.sql @@ -0,0 +1,10 @@ + +UPDATE `creature_template` SET `AIName`='SmartAI',`flags_extra`=2 WHERE `entry`=14989; +DELETE FROM `smart_scripts` WHERE `entryorguid`= 14989 AND `source_type`= 0 AND `id`= 0; +INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `event_flags`, `action_type`, `action_param1`, `target_type`, `comment`) VALUES +(14989, 54, 1, 11, 26744, 1, 'Poisonous Cloud - OOC - Cast \'Serverside - Poisonous Blood\''); + +DELETE FROM `smart_scripts` WHERE `entryorguid`= 11357 AND `source_type`= 0 AND `id`= 2; +INSERT INTO `smart_scripts` (`entryorguid`, `id`, `event_type`, `event_flags`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `target_type`, `comment`) VALUES +(11357, 2, 6, 512, 12, 14989, 3, 10000, 1, 'Son of Hakkar - On Just Died - Summon \'Poisonous Cloud\''); +