aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-09-07 23:08:26 +0100
committerNay <dnpd.dd@gmail.com>2011-09-08 19:14:55 +0100
commit31f6989d401a8202c63dbf87ef865a9c0234d45d (patch)
tree4291097622a7f33d7d2bf9a01f943780a1bc6eb7
parent6fd385b91c387d305d370d7de2068e6299d9b7e6 (diff)
DB/SAI: (Roughly) Fix quest 3821. Closes #249
-rw-r--r--sql/updates/world/2011_09_07_01_world_sai.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/2011_09_07_01_world_sai.sql b/sql/updates/world/2011_09_07_01_world_sai.sql
new file mode 100644
index 00000000000..aba3bdfe578
--- /dev/null
+++ b/sql/updates/world/2011_09_07_01_world_sai.sql
@@ -0,0 +1,10 @@
+DELETE FROM `gossip_menu` WHERE `entry`=2211 AND `text_id`=2850;
+INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
+(2211, 2850);
+
+UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=160445;
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=160445 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`, `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
+(160445, 1, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 12, 9136, 1, 60*1000, 0, 0, 0, 8, 0, 0, 0, -7917.378906, -2610.533936, 221.123123, 5.040257, 'Sha''ni Proudtusk''s Remains - On gossip hello summon Sha''ni Proudtusk');
+-- Need a way to prevent spamming this action.