From 798bbc31f09c2d8c53450e30c02f00be25198e4b Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 26 Jan 2014 00:59:53 +0100 Subject: DB/SAI: Blast the Infernals! By dr-j, closes #11428 --- sql/updates/world/2014_01_26_01_world_sai.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sql/updates/world/2014_01_26_01_world_sai.sql (limited to 'sql') diff --git a/sql/updates/world/2014_01_26_01_world_sai.sql b/sql/updates/world/2014_01_26_01_world_sai.sql new file mode 100644 index 00000000000..b585b4a0547 --- /dev/null +++ b/sql/updates/world/2014_01_26_01_world_sai.sql @@ -0,0 +1,10 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=37056; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 37056, 0, 0, 31, 0, 3, 21316, 0, 0, 0, '','Kill Legion Hold Infernals Targets Deathforged Infernal'); + +UPDATE `creature_template` SET `ainame`='SmartAI' WHERE `entry`=21512; +DELETE FROM `smart_scripts` WHERE `entryorguid`=21512 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 +(21512,0,0,1,8,0,100,0,37055,0,300000,300000,33,21512,0,0,0,0,0,7,0,0,0,0,0,0,0,'Invis Legion Hold Glyph - On Spellhit (Destroy Legion Hold Infernals) - Give Kill Credit'), +(21512,0,1,0,61,0,100,0,37055,0,0,0,11,37056,0,0,0,0,0,1,0,0,0,0,0,0,0,'Invis Legion Hold Glyph - Linked with Previous Event - Cast Kill Legion Hold Infernals'); -- cgit v1.2.3 From 527d0541f60a8623cc18f88726c634a27d34eb21 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 26 Jan 2014 01:02:35 +0100 Subject: DB/SAI: Fix freed from the Hive By dr-j, closes #11438 --- sql/updates/world/2014_01_26_02_world_sai.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sql/updates/world/2014_01_26_02_world_sai.sql (limited to 'sql') diff --git a/sql/updates/world/2014_01_26_02_world_sai.sql b/sql/updates/world/2014_01_26_02_world_sai.sql new file mode 100644 index 00000000000..81d52f8e9e2 --- /dev/null +++ b/sql/updates/world/2014_01_26_02_world_sai.sql @@ -0,0 +1,12 @@ +-- +UPDATE `smart_scripts` SET `event_type`=11 WHERE `entryorguid`=9546 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=12, `target_param1`=1 WHERE `entryorguid`=954600 AND `source_type`=9 AND `id`=2; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=164954 AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=16495400 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 +(164954,1,0,1,19,0,100,0,4265,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Zukk'ash Pod - On Quest Accept - Store Target List"), +(164954,1,1,2,61,0,100,0,0,0,0,0,12,9546,1,25000,0,0,0,8,0,0,0,-5314.81,430.89,11.79,3.46,"Zukk'ash Pod - On Quest Accept - Summon Raschal the Courier"), +(164954,1,2,0,61,0,100,0,0,0,0,0,80,16495400,2,0,0,0,0,1,0,0,0,0,0,0,0,"Zukk'ash Pod - On Quest Accept - Run Script"), +(16495400,9,0,0,0,0,100,0,100,100,0,0,100,1,0,0,0,0,0,19,9546,0,0,0,0,0,0,"Zukk'ash Pod - Script - Send Target List to Raschal the Courier"); -- cgit v1.2.3