aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-09-09 23:40:13 +0300
committerShauren <shauren.trinity@gmail.com>2022-03-15 00:01:32 +0100
commit131f7146ccbd6ce7b0bc2f47792ca3b653bd2b10 (patch)
tree6df24c4a21fe742a348fbbaa8dcc79ebac681449
parent5442edda1549837c4c1d194d3aca09f8c5f160de (diff)
DB/Quest: Update 'And Now, the Moment of Truth' (10201)
Ref #25984 (cherry picked from commit e07e0d287f02dfd47b83791c2a85a6ac608d7828)
-rw-r--r--sql/updates/world/master/2022_03_14_08_world_2021_09_09_01_world.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_14_08_world_2021_09_09_01_world.sql b/sql/updates/world/master/2022_03_14_08_world_2021_09_09_01_world.sql
new file mode 100644
index 00000000000..b8ada2a8a11
--- /dev/null
+++ b/sql/updates/world/master/2022_03_14_08_world_2021_09_09_01_world.sql
@@ -0,0 +1,13 @@
+--
+UPDATE `smart_scripts` SET `action_type` = 80, `action_param1` = 1960600, `action_param2` = 0, `action_param3` = 0, `comment` = "Grek - On Gossip Option 0 Selected - Run Script" WHERE `entryorguid` = 19606 AND `source_type` = 0 AND `id` = 2;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 19606 AND `source_type` = 0 AND `id` IN (4,5);
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 1960600 AND `source_type` = 9;
+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
+(1960600,9,0,0,0,0,100,0,0,0,0,0,0,1,2,0,1,0,0,0,7,0,0,0,0,0,0,0,0,"Grek - On Script - Say Line 2"),
+(1960600,9,1,0,0,0,100,0,2000,2000,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Grek - On Script - Set Emote State 69"),
+(1960600,9,2,0,0,0,100,0,4000,4000,0,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Grek - On Script - Set Emote State 0"),
+(1960600,9,3,0,0,0,100,0,0,0,0,0,0,1,3,0,1,0,0,0,7,0,0,0,0,0,0,0,0,"Grek - On Script - Say Line 3"),
+(1960600,9,4,0,0,0,100,0,0,0,0,0,0,33,19606,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Grek - On Script - Quest Credit 'And Now, the Moment of Truth'");
+
+UPDATE `creature_text` SET `Emote` = 0 WHERE `CreatureID` = 19606 AND `GroupID` = 2;
+UPDATE `creature_text` SET `Emote` = 15 WHERE `CreatureID` = 19606 AND `GroupID` = 3;