diff options
author | dr-j <dr-j@users.noreply.github.com> | 2021-01-29 19:48:52 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-06 18:48:30 +0100 |
commit | a5637d5edaf2d6c6b503255f7ca282fe99a6f4c7 (patch) | |
tree | bdb37f74501772622d9157d5509863166cfe5d23 | |
parent | 5e05b27d16a2039569c9f8c0661b4f309aeb7cb4 (diff) |
DB/Quest: Update 'That's What Friends Are For...' (12903)
Closes #25985
(cherry picked from commit fc856077b5319bc56ab801f9ec4b60050784a298)
-rw-r--r-- | sql/updates/world/master/2022_03_06_14_world_2021_01_29_06_world.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_06_14_world_2021_01_29_06_world.sql b/sql/updates/world/master/2022_03_06_14_world_2021_01_29_06_world.sql new file mode 100644 index 00000000000..b65f631fec9 --- /dev/null +++ b/sql/updates/world/master/2022_03_06_14_world_2021_01_29_06_world.sql @@ -0,0 +1,16 @@ +-- +DELETE FROM `areatrigger_scripts` WHERE `entry`IN(5174,5175,5176); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(5174, 'SmartTrigger'), +(5175, 'SmartTrigger'), +(5176, 'SmartTrigger'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(5174,5175,5176) 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 +(5174, 2, 0, 0, 46, 0, 100, 0, 5174, 0, 0, 0, 0, 33, 29455, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'That's What Friends Are For...' (Gerk)"), +(5175, 2, 0, 0, 46, 0, 100, 0, 5175, 0, 0, 0, 0, 33, 29454, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'That's What Friends Are For...' (Burr)"), +(5176, 2, 0, 0, 46, 0, 100, 0, 5176, 0, 0, 0, 0, 33, 29468, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'That's What Friends Are For...' (Crusader Dargoth)"); + +UPDATE `creature_template` SET `AIName`='' WHERE `entry` IN(29455,29454,29468); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(29455,29454,29468) AND `source_type`=0; |