aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRushor <PBienati@web.de>2015-10-20 11:25:01 +0200
committerMitchesD <majklprofik@seznam.cz>2015-11-06 10:30:13 +0100
commit1ccd4583528119ce0616b431d0e1f36a0cbc05e4 (patch)
treeeb722200566806ef398d1adda4a6fc60407d6d3e /sql
parent8564270449777615852a3322ad2d738423a5295a (diff)
DB/Creature: Gryphoneer Leafbeard - Gossip
* closes #15745 (cherry picked from commit be0649fafbc2e700b1f6043a1c33f44796ce7e7d)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2015_11_06_11_world_2015_10_20_00.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/2015_11_06_11_world_2015_10_20_00.sql b/sql/updates/world/2015_11_06_11_world_2015_10_20_00.sql
new file mode 100644
index 00000000000..ed787f90f68
--- /dev/null
+++ b/sql/updates/world/2015_11_06_11_world_2015_10_20_00.sql
@@ -0,0 +1,12 @@
+-- Gryphoneer Leafbeard - Gossip
+DELETE FROM `gossip_menu_option` WHERE (`menu_id`=8100 AND `id`=0);
+INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES
+(8100, 0, 0, 'Send me to Shatter Point!', 17935, 1, 1, 0, 0, 0, 0, NULL, 0);
+
+-- Gryphoneer Leafbeard SAI
+SET @ENTRY := 20236;
+UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
+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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
+(@ENTRY,0,0,1,62,0,100,0,8100,0,0,0,11,35066,2,0,0,0,0,7,0,0,0,0,0,0,0,"Gryphoneer Leafbeard - On Gossip Option 0 Selected - Cast 'Taxi - Hellfire Peninsula - Beach Head to Shatter Point'"),
+(@ENTRY,0,1,0,61,0,100,0,8100,0,0,0,72,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gryphoneer Leafbeard - On Gossip Option 0 Selected - Close Gossip");