aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authordr-j <dr-j@users.noreply.github.com>2020-03-14 18:54:52 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-23 13:56:30 +0100
commit375b3403293ed353d4b746778d59b500cd64a2c4 (patch)
treeb862dbcfb1093762edcbf3080ea97354d0c4147a /sql
parent30f688fe7072d2d166c10ad5015fc40ecd3d0cbb (diff)
DB/Quest: Whispers of the Raven God
Use stored target instead of closest player Trigger the event on gob state change instead of gossip hello (cherry picked from commit 672178bb8c4cad5364b1a55acefc24b92aa07931)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2021_12_23_01_world_2020_03_14_02_world.sql21
1 files changed, 21 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_23_01_world_2020_03_14_02_world.sql b/sql/updates/world/master/2021_12_23_01_world_2020_03_14_02_world.sql
new file mode 100644
index 00000000000..98bdaf4b627
--- /dev/null
+++ b/sql/updates/world/master/2021_12_23_01_world_2020_03_14_02_world.sql
@@ -0,0 +1,21 @@
+--
+UPDATE `gameobject_template_addon` SET `flags`=4 WHERE `entry` IN (184969,184968,184967,184950);
+UPDATE `smart_scripts` SET `target_type`=12, `target_param1`=1 WHERE `entryorguid`=21861 AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (184969,184968,184967,184950) AND `source_type`=1;
+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
+(184969, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 12, 21861, 3, 6000, 0, 0, 0, 8, 0, 0, 0, 0, 3572.57, 6669.2, 128.455, 5.6229, 'Four Prophecy - On Loot State - Summon Whisper Raven God'),
+(184969, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Four Prophecy - Link - Store Target'),
+(184969, 1, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'Fourth Prophecy - Link - Send Target to Raven God'),
+(184969, 1, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 4, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'Fourth Prophecy - Link - Set Data 4 to Raven God'),
+(184968, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 12, 21861, 3, 6000, 0, 0, 0, 8, 0, 0, 0, 0, 3736.95, 6640.75, 133.675, 3.33629, 'Third Prophecy - On Loot State - Summon Whisper Raven God'),
+(184968, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Third Prophecy - Link - Store Target'),
+(184968, 1, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'Third Prophecy - Link - Send Target to Raven God'),
+(184968, 1, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 3, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'Third Prophecy - Link - Set Data 3 to Raven God'),
+(184967, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 12, 21861, 3, 6000, 0, 0, 0, 8, 0, 0, 0, 0, 3629.29, 6542.14, 155.005, 2.56267, 'Second Prophecy - On Loot State - Summon Whisper Raven God'),
+(184967, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Second Prophecy - Link - Store Target'),
+(184967, 1, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'Second Prophecy - Link - Send Target to Raven God'),
+(184967, 1, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'Second Prophecy - Link - Set Data 2 to Raven God'),
+(184950, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 12, 21861, 3, 6000, 0, 0, 0, 8, 0, 0, 0, 0, 3779.99, 6729.6, 180.498, 5.7149, 'First Prophecy - On Loot State - Summon Whisper Raven God'),
+(184950, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'First Prophecy - Link - Store Target'),
+(184950, 1, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'First Prophecy - Link - Send Target to Raven God'),
+(184950, 1, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 21861, 20, 0, 0, 0, 0, 0, 0, 'First Prophecy - Link - Set Data 1 to Raven God');