diff options
author | Killyana <morphone1@gmail.com> | 2015-09-07 00:33:54 +0200 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2015-09-07 00:33:54 +0200 |
commit | 06fa7af6c56d74362c504902ac07de92370a0155 (patch) | |
tree | 52c4df10a6b64cf53e3a329706139aad98ca8d71 | |
parent | a32793ffd371db0f64d30e8a5dbfd4a58d09ae45 (diff) |
DB/Quest: Forging a Head
Attempts to salvage Stormforged Eyes from an Iron Giant's corpse will provide 2 Stormforged Eyes or will spawn 3 Iron Dwarfs.
-rw-r--r-- | sql/updates/world/2015_09_07_00_world.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/2015_09_07_00_world.sql b/sql/updates/world/2015_09_07_00_world.sql new file mode 100644 index 00000000000..46c7c4a66bd --- /dev/null +++ b/sql/updates/world/2015_09_07_00_world.sql @@ -0,0 +1,10 @@ +-- +UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid` IN (2991401) AND `source_type`=9 AND `id`=0; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (30208); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (30208) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2991401, 2991400) AND `source_type`=9 AND id>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 +(2991400,9,2,0,0,0,100,0,0,0,0,0,11,56230,0,0,0,0,0,7,0,0,0,0,0,0,0,"Dead Iron Giant - On Script - Cast 'Create Fireforged Eyes'"), +(2991401,9,2,0,0,0,100,0,0,0,0,0,11,56243,2,0,0,0,0,1,0,0,0,0,0,0,0,"Dead Iron Giant - On Script - Cast 'Summon Iron Dwarf'"), +(2991401,9,3,0,0,0,100,0,0,0,0,0,11,56243,2,0,0,0,0,1,0,0,0,0,0,0,0,"Dead Iron Giant - On Script - Cast 'Summon Iron Dwarf'"), +(30208,0,0,0,54,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,30,0,0,0,0,0,0,"Stormforged Ambusher - Just summoned - Start attack"); |