diff options
| author | Vincent_Michael <Vincent_Michael@gmx.de> | 2013-01-13 01:25:56 +0100 |
|---|---|---|
| committer | Vincent_Michael <Vincent_Michael@gmx.de> | 2013-01-13 01:25:56 +0100 |
| commit | b08ea19affc7818af33a0af5cbf03eae7de362a5 (patch) | |
| tree | 08454bd226548e1fabb348126c7ed77bad7916f7 /sql | |
| parent | 7fbd6d33dd9546fffe81aa241463af005b3dd7d1 (diff) | |
| parent | abe4b656c8775c2fe25649e83c135510442dc2b8 (diff) | |
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
Diffstat (limited to 'sql')
7 files changed, 112 insertions, 0 deletions
diff --git a/sql/updates/world/2013_01_11_05_world_creature_text.sql b/sql/updates/world/2013_01_11_05_world_creature_text.sql new file mode 100644 index 00000000000..1283fd86106 --- /dev/null +++ b/sql/updates/world/2013_01_11_05_world_creature_text.sql @@ -0,0 +1,13 @@ +-- NPC talk text for Gatewatcher Gyro-Kill +DELETE FROM `creature_text` WHERE `entry`=19218; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(19218,0,0, 'I predict a painful death.',14,0,100,0,0,11101, 'Gatewatcher Gyro-Kill - Aggro'), +(19218,1,0, 'Your strategy was flawed.',14,0,100,0,0,11102, 'Gatewatcher Gyro-Kill - On Kill'), +(19218,1,1, 'Yes, the only logical outcome.',12,0,100,0,0,11103, 'Gatewatcher Gyro-Kill - On Kill'), +(19218,2,0, 'Measure twice; cut once.',14,0,100,0,0,11104, 'Gatewatcher Gyro-Kill - Sawblades'), +(19218,2,1, 'If my division is correct you should be quite dead.',14,0,100,0,0,11105, 'Gatewatcher Gyro-Kill - Sawblades'), +(19218,3,0, 'An unforeseen... contingency.',14,0,100,0,0,11106, 'Gatewatcher Gyro-Kill - On Death'); + +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=19218; +DELETE FROM `creature_ai_texts` WHERE `entry` BETWEEN -86 AND -81; +UPDATE `creature_template` SET `AIName`='', `ScriptName`= 'Boss_Gatewatcher_Gyrokill' WHERE `entry`=19218; diff --git a/sql/updates/world/2013_01_12_00_world_smart_scripts.sql b/sql/updates/world/2013_01_12_00_world_smart_scripts.sql new file mode 100644 index 00000000000..06562cbd122 --- /dev/null +++ b/sql/updates/world/2013_01_12_00_world_smart_scripts.sql @@ -0,0 +1,7 @@ +-- Hulking Abomination +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=31140; +DELETE FROM `smart_scripts` WHERE `entryorguid`=31140 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`event_type`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(31140,0,6,0,0,0,0,0,11,58995,2,1,'Hulking Abomination - Just died - Cast Exploding Corpse'), +(31140,1,9,1,8,40,0,0,11,50335,0,7,'Hulking Abomination - Invoker in range of 8 to 40 yards - Cast Scourge Hook'), +(31140,2,0,0,3000,3000,7000,7000,11,40504,0,2,'Hulking Abomination - In combat - Cast Cleave'); diff --git a/sql/updates/world/2013_01_12_01_world_string.sql b/sql/updates/world/2013_01_12_01_world_string.sql new file mode 100644 index 00000000000..8766e97231d --- /dev/null +++ b/sql/updates/world/2013_01_12_01_world_string.sql @@ -0,0 +1,3 @@ +DELETE FROM `trinity_string` WHERE `entry`=2029; +INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES +(2029,'|cff00ff00Ticket Response|r: [%s]|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); diff --git a/sql/updates/world/2013_01_12_02_world_creature_template.sql b/sql/updates/world/2013_01_12_02_world_creature_template.sql new file mode 100644 index 00000000000..608af749f15 --- /dev/null +++ b/sql/updates/world/2013_01_12_02_world_creature_template.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `ScriptName`= 'boss_gatewatcher_gyrokill' WHERE `entry`=19218; diff --git a/sql/updates/world/2013_01_12_03_world_gameobject.sql b/sql/updates/world/2013_01_12_03_world_gameobject.sql new file mode 100644 index 00000000000..a7a914fceec --- /dev/null +++ b/sql/updates/world/2013_01_12_03_world_gameobject.sql @@ -0,0 +1,7 @@ +-- Add missing doors to mechanar +SET @GUID := 6032; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @GUID AND @GUID+2; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@GUID,184632,554,3,1,236.4597,52.36356,1.653544,3.141593,0,0,-1,0,120,0,1), +(@GUID+1,184322,554,3,1,242.874,52.314810,1.596334,3.141593,0,0,-1,0,120,0,1), +(@GUID+2,184449,554,3,1,267.9281,52.31481,27.04254,3.141593,0,0,-1,0,120,0,1); diff --git a/sql/updates/world/2013_01_12_03_world_waypoints.sql b/sql/updates/world/2013_01_12_03_world_waypoints.sql new file mode 100644 index 00000000000..3903e383ae8 --- /dev/null +++ b/sql/updates/world/2013_01_12_03_world_waypoints.sql @@ -0,0 +1,53 @@ +-- Pathing for Mechano-Lord Capacitus Entry: 19219 +SET @NPC := 83160; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=207.2308,`position_y`=-14.30226,`position_z`=-2.192125 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,207.2308,-14.30226,-2.192125,0,7000,0,0,100,0), +(@PATH,2,204.4302,-15.78992,-2.192125,0,1000,0,0,100,0), +(@PATH,3,207.7613,-18.93377,-2.192125,0,0,0,0,100,0), +(@PATH,4,208.2819,-16.48228,-2.192125,0,1000,0,0,100,0), +(@PATH,5,228.1113,-0.829701,-0.8854336,0,0,0,0,100,0), +(@PATH,6,226.6032,19.45208,-1.726556,0,14000,0,0,100,0), +(@PATH,7,209.7744,-12.69758,-2.192125,0,1000,0,0,100,0), +(@PATH,8,209.7744,-12.69758,-2.192125,3.141593,1000,0,0,100,0), +(@PATH,9,228.1113,-0.829701,-0.8854336,0,0,0,0,100,0), +(@PATH,10,226.6032,19.45208,-1.726556,0,0,0,0,100,0), +(@PATH,11,204.9646,26.38312,-0.005853632,0,13000,0,0,100,0), +(@PATH,12,209.7744,-12.69758,-2.192125,0,1000,0,0,100,0), +(@PATH,13,209.7744,-12.69758,-2.192125,3.141593,1000,0,0,100,0), +(@PATH,14,224.3664,-23.35326,-2.192125,0,0,0,0,100,0), +(@PATH,15,231.1084,-38.22675,8.909556E-07,0,15000,0,0,100,0), +(@PATH,16,209.7744,-12.69758,-2.192125,0,0,0,0,100,0), +(@PATH,17,209.7744,-12.69758,-2.192125,3.141593,1000,0,0,100,0), +(@PATH,18,189.2316,-17.36449,-2.192126,0,0,0,0,100,0), +(@PATH,19,185.7177,-4.297129,-1.142366,0,0,0,0,100,0), +(@PATH,20,191.9589,6.435908,-0.7838742,0,0,0,0,100,0), +(@PATH,21,196.1359,21.01234,-1.426585,0,0,0,0,100,0), +(@PATH,22,207.8954,18.24695,-2.192125,0,0,0,0,100,0), +(@PATH,23,213.9077,10.01895,-2.192125,0,11000,0,0,100,0), +(@PATH,24,209.7744,-12.69758,-2.192125,0,0,0,0,100,0), +(@PATH,25,209.7744,-12.69758,-2.192125,3.141593,2000,0,0,100,0), +(@PATH,26,203.706,-11.63055,-2.192125,0,10000,0,0,100,0), +(@PATH,27,206.4484,-14.27736,-2.192125,0,0,0,0,100,0), +(@PATH,28,208.3172,-13.38252,-2.192125,0,0,0,0,100,0), +(@PATH,29,209.3133,-12.82924,-2.192125,0,7000,0,0,100,0), +(@PATH,30,204.3208,-10.91346,-2.192125,0,0,0,0,100,0), +(@PATH,31,207.38,-13.36442,-2.192125,0,0,0,0,100,0), +(@PATH,32,207.7303,-11.56095,-2.192125,0,7000,0,0,100,0), +(@PATH,33,195.6332,-15.0944,-2.192125,0,0,0,0,100,0), +(@PATH,34,195.4723,-29.45176,-2.192125,0,0,0,0,100,0), +(@PATH,35,202.765,-41.79265,-2.192125,0,7000,0,0,100,0), +(@PATH,36,209.7744,-12.69758,-2.192125,0,1000,0,0,100,0), +(@PATH,37,209.7744,-12.69758,-2.192125,3.141593,1000,0,0,100,0), +(@PATH,38,189.2316,-17.36449,-2.192126,0,0,0,0,100,0), +(@PATH,39,185.7177,-4.297129,-1.142366,0,0,0,0,100,0), +(@PATH,40,191.9589,6.435908,-0.7838742,0,0,0,0,100,0), +(@PATH,41,196.1359,21.01234,-1.426585,0,0,0,0,100,0), +(@PATH,42,207.8954,18.24695,-2.192125,0,0,0,0,100,0), +(@PATH,43,213.9077,10.01895,-2.192125,0,6000,0,0,100,0), +(@PATH,44,209.7744,-12.69758,-2.192125,0,20000,0,0,100,0), +(@PATH,45,210.4122,-9.19214,-2.192125,0,0,0,0,100,0); diff --git a/sql/updates/world/2013_01_12_04_world_misc.sql b/sql/updates/world/2013_01_12_04_world_misc.sql new file mode 100644 index 00000000000..5ba81aa39f1 --- /dev/null +++ b/sql/updates/world/2013_01_12_04_world_misc.sql @@ -0,0 +1,28 @@ +UPDATE `creature_template` SET `AIName` = '',`ScriptName` = 'boss_mechano_lord_capacitus' WHERE `entry` =19219; +UPDATE `creature_template` SET `unit_flags`=`unit_flags` |2 |33554432 WHERE `entry` IN (20405,21534); -- Nether Charge + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (19219,20405); +DELETE FROM `creature_ai_texts` WHERE `entry` BETWEEN -92 AND -87; + +DELETE FROM `creature_template_addon` WHERE `entry` IN (20405,21534); +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(20405,0,0,0,0,0,'37670 35150'), -- Nether Charge +(21534,0,0,0,0,0,'37670 35150'); -- Nether Charge (1) + +SET @ENTRY := 20405; -- Nether Charge + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY; +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,0,0,0,0,0,100,0,14000,14000,1000,1000,11,35151,0,0,0,0,0,0,0,0,0,0.0,0.0,0.0,0.0,"Nether Bomb - Nether Charge Pulse"), +(@ENTRY,0,1,0,0,0,100,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0.0,0.0,0.0,0.0,"Nether Charge - No Melee"), +(@ENTRY,0,2,0,0,0,100,0,0,0,14000,14000,21,0,0,0,0,0,0,0,0,0,0,0.0,0.0,0.0,0.0,"Nether Charge - Prevent Combat Movement When Start..."); + +DELETE FROM `creature_text` WHERE `entry` = 19219; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(19219, 0, 0, 'You should split while you can.', 14, 0, 100, 0, 0, 11162, 'Mechano-Lord Capacitus - Aggro'), +(19219, 1, 0, 'Go ahead, gimme your best shot. I can take it!', 14, 0, 100, 0, 0, 11166, 'Mechano-Lord Capacitus - Yells'), -- Reflective Damage Shield +(19219, 2, 0, 'Think you can hurt me, huh? Think I''m afraid a'' you?', 14, 0, 100, 0, 0, 11165, 'Mechano-Lord Capacitus - Yells'), -- Reflective Magic Shield +(19219, 3, 0, 'Can''t say I didn''t warn you!', 14, 0, 100, 0, 0, 11163, 'Mechano-Lord Capacitus - Killing a player'), +(19219, 3, 1, 'Damn, I''m good!', 14, 0, 100, 0, 0, 11164, 'Mechano-Lord Capacitus - Killing a player'), +(19219, 4, 0, 'Bully!', 14, 0, 100, 0, 0, 11167, 'Mechano-Lord Capacitus - Death'); |
