aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-02-12 23:33:30 +0000
committerNay <dnpd.dd@gmail.com>2012-02-12 23:33:30 +0000
commita827a6f8f1670b78633ac9c183c664f78800f4ce (patch)
treeb6d9d1cb807e8c211b95a62095a97f2e5ef07de1
parent3e15eccd431e80c601529c307f6704d8ad165da3 (diff)
DB/SAI: Fix a couple of issues in recent commits
By Dasio and tREAK
-rw-r--r--sql/updates/world/2012_02_12_04_world_sai.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/2012_02_12_04_world_sai.sql b/sql/updates/world/2012_02_12_04_world_sai.sql
new file mode 100644
index 00000000000..190e3c3c63e
--- /dev/null
+++ b/sql/updates/world/2012_02_12_04_world_sai.sql
@@ -0,0 +1,12 @@
+-- By Dasio
+UPDATE `smart_scripts` SET `action_param2`=2, `action_param3`=0 WHERE `entryorguid`=4961 AND `id` IN (1,2) AND `source_type`=0;
+
+-- By tREAK
+SET @NPC_STEFAN :=28518;
+SET @SPELL_PUSH_ENSORCELED_CHOKER :=53810;
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=28518 AND `source_type`=0 AND `id` IN (1,2,4);
+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
+(@NPC_STEFAN,0,1,2,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Stefan Vadu - On gossip select - Say line'),
+(@NPC_STEFAN,0,2,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Stefan Vadu - On gossip select - Close gossip'),
+(@NPC_STEFAN,0,4,2,62,0,100,0,9709,1,0,0,85,@SPELL_PUSH_ENSORCELED_CHOKER,0,0,0,0,0,7,0,0,0,0,0,0,0,'Stefan Vadu - On gossip select - Invoker Spellcast');