From 66707de0854ead990121cd6f0453843a85cab849 Mon Sep 17 00:00:00 2001 From: Zenslash <34547317+Zenslash@users.noreply.github.com> Date: Thu, 22 Jul 2021 02:55:01 +0300 Subject: [PATCH] fix(DB/SAI): "Attack on the Tower" Quest - Incorrect NPC Spawn Behaviour (#6986) Quest Attack on the Tower missing scripts after open Trelane's Footlocker, Trelane's Chest, Trelane's Lockbox. Mobs don't attack players. - Closes #6944 --- .../pending_db_world/rev_1626358725875698500.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1626358725875698500.sql diff --git a/data/sql/updates/pending_db_world/rev_1626358725875698500.sql b/data/sql/updates/pending_db_world/rev_1626358725875698500.sql new file mode 100644 index 000000000..0fc5705cd --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1626358725875698500.sql @@ -0,0 +1,10 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1626358725875698500'); + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (2569, 2570); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 2569) AND (`source_type` = 0) AND (`id` IN (2)); +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 2570) AND (`source_type` = 0) AND (`id` IN (4)); +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 +(2569, 0, 2, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 49, 100, 0, 0, 0, 0, 0, 21, 30, 0, 0, 0, 0, 0, 0, 0, 'Boulderfist Mauler - Just Summoned - Attack Start'), +(2570, 0, 4, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 30, 0, 0, 0, 0, 0, 0, 0, 'Boulderfist Shaman - Just Summoned - Attack Start'); +