From 781fe38003deacab5ee9456a5f49748d4274f792 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Fri, 1 Feb 2019 22:48:02 +0100 Subject: [PATCH] fix(DB/SAI): Rift Spawns (Mage quests) (#1383) Mage quests 1920 & 1960 The Rift Spawns will immediately attack after using "Cantation of Manifestation" and now correctly say "Rift Spawn is angered and attacks!" The Rift Spawns will now correctly say "Rift Spawn escapes into the void!" if it takes too long to catch them after being stunned. The LoS restriction of "Cantation of Manifestation" is removed --- .../rev_1548717283055325995.sql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1548717283055325995.sql diff --git a/data/sql/updates/pending_db_world/rev_1548717283055325995.sql b/data/sql/updates/pending_db_world/rev_1548717283055325995.sql new file mode 100644 index 000000000..2ee5df07e --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1548717283055325995.sql @@ -0,0 +1,19 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1548717283055325995'); + +SET +@RIFT_SPAWN := 6492, +@CANTATION := 9095; + +DELETE FROM `disables` WHERE `sourceType` = 0 AND `entry` = @CANTATION; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) +VALUES +(0, @CANTATION, 64, '', '', 'Ignore LoS for Cantation of Manifestation'); + +UPDATE `smart_scripts` SET `link` = 12 WHERE `entryorguid` = @RIFT_SPAWN AND `id` = 4; +UPDATE `smart_scripts` SET `action_param1` = 1 WHERE `entryorguid` = @RIFT_SPAWN AND `id` = 8; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @RIFT_SPAWN AND `id` in (12,13); +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 +(@RIFT_SPAWN, 0, 12, 13, 61, 0, 100, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Rift Spawn - Linked - Say line 0"), +(@RIFT_SPAWN, 0, 13, 0, 61, 0, 100, 1, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Rift Spawn - Linked - Attack ActionInvoker");