aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKittnz <frederik156@hotmail.com>2016-12-09 17:58:03 +0100
committerKittnz <frederik156@hotmail.com>2016-12-09 17:58:03 +0100
commit97d245ab59fbb4be36a8dddbc97c27abed41da5f (patch)
tree93894b37f96b21089dfdbd1cb1c5ea98fa09c700
parent9493cb52bb60de4fa5a85960cd41d1d0c2068232 (diff)
Quest: Prospect of Faith
by Rushor Closes #18427
-rw-r--r--sql/updates/world/3.3.5/2016_12_09_02_world_335.sql23
1 files changed, 23 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_12_09_02_world_335.sql b/sql/updates/world/3.3.5/2016_12_09_02_world_335.sql
new file mode 100644
index 00000000000..d35636ede10
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_12_09_02_world_335.sql
@@ -0,0 +1,23 @@
+-- Historian Karnik SAI
+SET @ENTRY := 2916;
+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,0,20,0,100,0,724,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Historian Karnik - On Quest 'Prospect of Faith' Finished - Run Script");
+
+-- Actionlist SAI
+SET @ENTRY := 291600;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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`,`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,9,0,0,0,0,100,0,0,0,0,0,12,2915,3,25000,0,0,0,8,0,0,0,-4633.1416,-1324.990,503.3826,5.41487,"Historian Karnik - On Script - Summon Creature 'Hammertoe's Spirit'"),
+(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,1,0,0,0,0,0,0,19,2915,20,0,0,0,0,0,"Historian Karnik - On Script - Say Line 0"),
+(@ENTRY,9,2,0,0,0,100,0,5000,5000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Historian Karnik - On Script - Say Line 0"),
+(@ENTRY,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,19,2915,20,0,0,0,0,0,"Historian Karnik - On Script - Say Line 1"),
+(@ENTRY,9,4,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Historian Karnik - On Script - Say Line 1");
+
+DELETE FROM `creature_text` WHERE `entry` IN (2916, 2915);
+INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
+(2915, 0, 0, 'Karnik, me friend, I wish I could see you with me own eyes again, but we need''ta talk of Ragnaros. His influence is spreading.', 12, 0, 100, 0, 0, 0, 916, 'Hammertoe''s Spirit'),
+(2915, 1, 0, 'I''ll tell you more, Karnik, in time. But first, send this traveler''ta Belgrum--there''s more business''ta attend to.', 12, 0, 100, 0, 0, 0, 918, 'Hammertoe''s Spirit'),
+(2916, 0, 0, 'Ragnaros? Terrible news indeed...', 12, 0, 100, 0, 0, 0, 956, 'Historian Karnik'),
+(2916, 1, 0, 'You heard him, traveler. Speak to me again when you''re ready to speak to Belgrum.', 12, 0, 100, 0, 0, 0, 958, 'Historian Karnik');