From 516246cbe9d8f9f6b8add91d56ffae6848327f4f Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 22 Jun 2014 06:50:17 +0200 Subject: DB/SAI: Fix Catch and Release By Polkic, closes #11236 --- sql/updates/world/2014_06_22_02_world_misc.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/2014_06_22_02_world_misc.sql (limited to 'sql') diff --git a/sql/updates/world/2014_06_22_02_world_misc.sql b/sql/updates/world/2014_06_22_02_world_misc.sql new file mode 100644 index 00000000000..fadeb279d94 --- /dev/null +++ b/sql/updates/world/2014_06_22_02_world_misc.sql @@ -0,0 +1,8 @@ +-- Blacksilt Scout +SET @ENTRY := 17326; +SET @SOURCETYPE := 0; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=@SOURCETYPE; +UPDATE creature_template SET AIName="SmartAI" WHERE entry=@ENTRY LIMIT 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 +(@ENTRY,@SOURCETYPE,0,0,8,0,100,0,30877,0,0,0,33,17654,0,0,0,0,0,16,0,0,0,0.0,0.0,0.0,0.0,"Blacksilt Scout - On Spellhit - Give Quest Credit"); -- cgit v1.2.3