From 6dce8c8d9bf2622f21ff3cb5894e11386818bb82 Mon Sep 17 00:00:00 2001 From: dr-j Date: Sun, 31 Jan 2021 11:22:24 +0200 Subject: DB/Quest: Update 'X Marks... Your Doom!' (11166) Closes #25987 --- sql/updates/world/3.3.5/2021_01_31_02_world_335.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sql/updates/world/3.3.5/2021_01_31_02_world_335.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2021_01_31_02_world_335.sql b/sql/updates/world/3.3.5/2021_01_31_02_world_335.sql new file mode 100644 index 00000000000..ebb43d382be --- /dev/null +++ b/sql/updates/world/3.3.5/2021_01_31_02_world_335.sql @@ -0,0 +1,16 @@ +-- +DELETE FROM `areatrigger_scripts` WHERE `entry`IN(4725,4724,4726); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(4725, 'SmartTrigger'), +(4724, 'SmartTrigger'), +(4726, 'SmartTrigger'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(4725,4724,4726) AND `source_type`=2; +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 +(4725, 2, 0, 0, 46, 0, 100, 0, 4725, 0, 0, 0, 0, 33, 23814, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'X Marks... Your Doom!'' (Zul'Aman - Eagle God Invisman)"), +(4726, 2, 0, 0, 46, 0, 100, 0, 4726, 0, 0, 0, 0, 33, 23815, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'X Marks... Your Doom!'' (Zul'Aman - Lynx God Invisman)"), +(4724, 2, 0, 0, 46, 0, 100, 0, 4724, 0, 0, 0, 0, 33, 23813, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'X Marks... Your Doom!' (Zul'Aman - Dragonhawk God Invisman)"); + +UPDATE `creature_template` SET `AIName`='' WHERE `entry` IN(23814,23815,23813); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(23814,23815,23813) AND `source_type`=0; -- cgit v1.2.3