diff --git a/sql/updates/world/2013_07_11_01_world_spell_area.sql b/sql/updates/world/2013_07_11_01_world_spell_area.sql new file mode 100644 index 0000000000000..91e9f73ea86d3 --- /dev/null +++ b/sql/updates/world/2013_07_11_01_world_spell_area.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_area` WHERE `spell`=57940 AND `area`=4277; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES +(57940,4277,0,0,0,0,2,1,64,11); diff --git a/sql/updates/world/2013_07_11_02_world_brew_of_the_year.sql b/sql/updates/world/2013_07_11_02_world_brew_of_the_year.sql new file mode 100644 index 0000000000000..543be05890863 --- /dev/null +++ b/sql/updates/world/2013_07_11_02_world_brew_of_the_year.sql @@ -0,0 +1,110 @@ +SET @CGUID := 267982; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+1 AND @CGUID+24; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES + (@CGUID+1,27814,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+2,27813,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+3,27811,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+4,27815,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+5,27817,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+6,27806,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+7,27806,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+8,27818,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+9,27819,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+10,27816,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+11,27812,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+12,27820,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0), + (@CGUID+13,27810,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+14,27815,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+15,27811,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+16,27819,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+17,27816,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+18,27812,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+19,27820,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+20,27813,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+21,27817,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+22,27814,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+23,27818,1,1,1,0,0,1475.8,-4210.23,43.1424,4.11898,600,0,0,2215,0,0,0,0,0), + (@CGUID+24,27810,0,1,1,0,0,-4843.8,-861.921,501.914,4.87919,600,0,0,2215,0,0,0,0,0); + +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+1 AND @CGUID+24; +INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES + (70,@CGUID+1), + (69,@CGUID+2), + (67,@CGUID+3), + (71,@CGUID+4), + (73,@CGUID+5), + (65,@CGUID+6), + (65,@CGUID+7), + (74,@CGUID+8), + (75,@CGUID+9), + (72,@CGUID+10), + (68,@CGUID+11), + (76,@CGUID+12), + (66,@CGUID+13), + (71,@CGUID+14), + (67,@CGUID+15), + (75,@CGUID+16), + (72,@CGUID+17), + (68,@CGUID+18), + (76,@CGUID+19), + (69,@CGUID+20), + (73,@CGUID+21), + (70,@CGUID+22), + (74,@CGUID+23), + (66,@CGUID+24); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (27806,27810,27811,27812,27813,27814,27815,27816,27817,27818,27819,27820); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES + (27806,'0',0,'0',1,0,NULL), + (27810,'0',0,'0',1,0,NULL), + (27811,'0',0,'0',1,0,NULL), + (27812,'0',0,'0',1,0,NULL), + (27813,'0',0,'0',1,0,NULL), + (27814,'0',0,'0',1,0,NULL), + (27815,'0',0,'0',1,0,NULL), + (27816,'0',0,'0',1,0,NULL), + (27817,'0',0,'0',1,0,NULL), + (27818,'0',0,'0',1,0,NULL), + (27819,'0',0,'0',1,0,NULL), + (27820,'0',0,'0',1,0,NULL); + +DELETE FROM `npc_vendor` WHERE `entry` IN (27806,27810,27811,27812,27813,27814,27815,27816,27817,27818,27819,27820); +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES + (27806,0,37898,0,'0',0), + (27810,0,37899,0,'0',0), + (27811,0,37900,6,'0',0), + (27812,0,37901,0,'0',0), + (27813,0,37902,0,'0',0), + (27814,0,37903,0,'0',0), + (27815,0,37904,0,'0',0), + (27816,0,37905,0,'0',0), + (27817,0,37906,0,'0',0), + (27818,0,37907,0,'0',0), + (27819,0,37908,0,'0',0), + (27820,0,37909,0,'0',0); + +DELETE FROM `game_event` WHERE `eventEntry` BETWEEN 65 AND 76; +INSERT INTO `game_event` (`eventEntry`, `start_time`, `end_time`, `occurence`, `length`, `holiday`, `description`, `world_event`, `announce`) VALUES + (65,'2010-01-01 00:01:00','2020-01-31 23:59:00','525600','44640',0,'January',0,2), + (66,'2010-02-01 00:01:00','2020-02-29 23:59:00','525600','40320',0,'February',0,2), + (67,'2010-03-01 00:01:00','2020-03-31 23:59:00','525600','44640',0,'March',0,2), + (68,'2010-04-01 00:01:00','2020-04-30 23:59:00','525600','43200',0,'April',0,2), + (69,'2010-05-01 00:01:00','2020-05-31 23:59:00','525600','44640',0,'May',0,2), + (70,'2010-06-01 00:01:00','2020-06-30 23:59:00','525600','43200',0,'June',0,2), + (71,'2010-07-01 00:01:00','2020-07-31 23:59:00','525600','44640',0,'July',0,2), + (72,'2010-08-01 00:01:00','2020-08-31 23:59:00','525600','44640',0,'August',0,2), + (73,'2010-09-01 00:01:00','2020-09-30 23:59:00','525600','43200',0,'September',0,2), + (74,'2010-10-01 00:01:00','2020-10-31 23:59:00','525600','44640',0,'October',0,2), + (75,'2010-11-01 00:01:00','2020-11-30 23:59:00','525600','43200',0,'November',0,2), + (76,'2010-12-01 00:01:00','2020-12-31 23:59:00','525600','44640',0,'December',0,2); + +UPDATE `creature_template` SET `gossip_menu_id`=9549, `npcflag`=129 WHERE `entry` IN (27806,27810,27811,27812,27813,27814,27815,27816,27817,27818,27819,27820); + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9549 AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES + (9549,0,1,'I\'d like to buy this month\'s brew.',3,128,0,0,0,0,NULL); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9549 AND `SourceEntry`=0 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=17 AND `ConditionTarget`=0 AND `ConditionValue1`=2796 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES + (15,9549,0,0,0,17,0,2796,0,0,0,0,0,'0','Brew of the month vendor should only sell to members of the club.'); diff --git a/sql/updates/world/2013_07_16_00_world_creature_text.sql b/sql/updates/world/2013_07_16_00_world_creature_text.sql new file mode 100644 index 0000000000000..614e12a28f0e0 --- /dev/null +++ b/sql/updates/world/2013_07_16_00_world_creature_text.sql @@ -0,0 +1,3 @@ +UPDATE `creature_text` SET `type`=14,`sound`=13464 WHERE `entry`=26687 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `type`=14,`sound`=13465 WHERE `entry`=26687 AND `groupid`=1 AND `id`=0; +UPDATE `creature_text` SET `type`=14,`sound`=13466 WHERE `entry`=26687 AND `groupid`=1 AND `id`=1; diff --git a/sql/updates/world/2013_07_17_00_world_creature.sql b/sql/updates/world/2013_07_17_00_world_creature.sql new file mode 100644 index 0000000000000..c17f5ca1f6060 --- /dev/null +++ b/sql/updates/world/2013_07_17_00_world_creature.sql @@ -0,0 +1,8 @@ +SET @GUID := 268007; +DELETE FROM `creature` WHERE `guid`=@GUID; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES + (@GUID,28107,571,1,1,0,0,5116.65,5469.73,-91.7097,1.6057,300,0,0,117700,3809,0,0,0,0); + +DELETE FROM `creature_template_addon` WHERE `entry`=28107; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES + (28107,0,0,65536,1,0,'52215'); diff --git a/sql/updates/world/2013_07_17_01_world_spell_area.sql b/sql/updates/world/2013_07_17_01_world_spell_area.sql new file mode 100644 index 0000000000000..3e360b8065ca8 --- /dev/null +++ b/sql/updates/world/2013_07_17_01_world_spell_area.sql @@ -0,0 +1,5 @@ +DELETE FROM `spell_area` WHERE `spell`=52217 AND `area`=4288; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES + (52217,4288,12705,12705,0,0,2,1,74,11), + (52217,4288,12761,12761,0,0,2,1,74,11), + (52217,4288,12762,12762,0,0,2,1,74,11); diff --git a/sql/updates/world/2013_07_18_00_world_creature.sql b/sql/updates/world/2013_07_18_00_world_creature.sql new file mode 100644 index 0000000000000..89a25e5b9b42b --- /dev/null +++ b/sql/updates/world/2013_07_18_00_world_creature.sql @@ -0,0 +1,8 @@ +SET @GUID := 268008; +DELETE FROM `creature` WHERE `guid`=@GUID; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES + (@GUID,28106,571,1,1,0,0,4891.31,5905.05,-40.6086,3.66024,300,0,0,117700,3809,0,0,0,0); + +DELETE FROM `creature_template_addon` WHERE `entry`=28106; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES + (28106,0,0,65536,1,0,'52215'); diff --git a/sql/updates/world/2013_07_18_01_world_spell_area.sql b/sql/updates/world/2013_07_18_01_world_spell_area.sql new file mode 100644 index 0000000000000..0f003bb817ea0 --- /dev/null +++ b/sql/updates/world/2013_07_18_01_world_spell_area.sql @@ -0,0 +1,5 @@ +DELETE FROM `spell_area` WHERE `spell`=52217 AND `area`=4287; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES + (52217,4287,12703,12703,0,0,2,1,74,11), + (52217,4287,12759,12759,0,0,2,1,74,11), + (52217,4287,12760,12760,0,0,2,1,74,11); diff --git a/sql/updates/world/2013_07_19_00_world_creature_loot_template.sql b/sql/updates/world/2013_07_19_00_world_creature_loot_template.sql new file mode 100644 index 0000000000000..4bb2ac60a9758 --- /dev/null +++ b/sql/updates/world/2013_07_19_00_world_creature_loot_template.sql @@ -0,0 +1,2 @@ + -- Mark of Hakkar, Hakkari Breastplate and Hakkari Shroud shouldn't drop from Oozeling. +DELETE FROM `creature_loot_template` WHERE `entry`=8257 AND `item` IN (10780,10781,10782); diff --git a/sql/updates/world/2013_07_19_01_world_creature.sql b/sql/updates/world/2013_07_19_01_world_creature.sql new file mode 100644 index 0000000000000..b9b8c78af4a92 --- /dev/null +++ b/sql/updates/world/2013_07_19_01_world_creature.sql @@ -0,0 +1,76 @@ +SET @GUID := 268008; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID+1 AND @GUID+51; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES + (@GUID+1,31413,571,1,8,0,0,5894.55,2005.59,515.171,5.55538,300,0,0,12175,0,0,0,0,0), + (@GUID+2,31413,571,1,8,0,0,5867.44,2050.55,504.004,-1.27405,300,0,0,12175,0,0,0,0,0), + (@GUID+3,31413,571,1,8,0,0,5874.75,2022.04,506.454,5.80445,300,0,0,12175,0,0,0,0,0), + (@GUID+4,31413,571,1,8,0,0,5870.32,2018.4,505.655,0.290755,300,0,0,12175,0,0,0,0,0), + (@GUID+5,31413,571,1,8,0,0,5855.25,2110.61,504.665,0.949044,300,0,0,12175,0,0,0,0,0), + (@GUID+6,31413,571,1,8,0,0,5840.38,2101.82,503.871,-0.711977,300,0,0,12175,0,0,0,0,0), + (@GUID+7,31413,571,1,8,0,0,5867.42,2043.59,503.88,5.12847,300,0,0,12175,0,0,0,0,0), + (@GUID+8,31413,571,1,8,0,0,5833.39,1970.85,504.473,3.08871,300,0,0,12175,0,0,0,0,0), + (@GUID+9,31413,571,1,8,0,0,5798.64,1962.52,503.869,5.66057,300,0,0,12175,0,0,0,0,0), + (@GUID+10,31413,571,1,8,0,0,5723.53,1942.12,505.543,1.83033,300,0,0,12175,0,0,0,0,0), + (@GUID+11,31413,571,1,8,0,0,5710.5,1977.99,503.933,4.30123,300,0,0,12175,0,0,0,0,0), + (@GUID+12,31440,571,1,8,0,0,5907.3,1998.58,517.166,2.79253,300,0,0,12600,0,0,0,0,0), + (@GUID+13,31646,571,1,12,0,0,5788.61,1993.96,435.379,3.61283,300,0,0,5468,0,0,0,0,0), + (@GUID+14,31646,571,1,12,0,0,5767.92,2058.6,475.933,4.43314,300,0,0,5468,0,0,0,0,0), + (@GUID+15,31646,571,1,12,0,0,5764.21,2045.8,501.51,5.16617,300,0,0,5468,0,0,0,0,0), + (@GUID+16,31646,571,1,12,0,0,5818.83,2034.41,503.401,0.977384,300,0,0,5468,0,0,0,0,0), + (@GUID+17,31646,571,1,12,0,0,5763.88,2043.71,493.904,3.10669,300,0,0,5468,0,0,0,0,0), + (@GUID+18,31646,571,1,12,0,0,5784.87,2020.84,491.883,0.436332,300,0,0,5468,0,0,0,0,0), + (@GUID+19,31646,571,1,12,0,0,5815.77,2043.8,503.376,4.15388,300,0,0,5468,0,0,0,0,0), + (@GUID+20,31646,571,1,12,0,0,5703.19,1997.12,120.59,3.66519,300,0,0,5468,0,0,0,0,0), + (@GUID+21,31646,571,1,12,0,0,5680.4,2073.6,-20.9191,1.48353,300,0,0,5468,0,0,0,0,0), + (@GUID+22,31646,571,1,12,0,0,5685.62,2088.3,279.934,3.80482,300,0,0,5468,0,0,0,0,0), + (@GUID+23,31646,571,1,12,0,0,5688.02,2092.32,455.63,2.46091,300,0,0,5468,0,0,0,0,0), + (@GUID+24,31413,571,1,8,0,0,5657.55,1975.32,507.441,2.44226,300,0,0,12175,0,0,0,0,0), + (@GUID+25,31413,571,1,8,0,0,5745.8,1961.52,503.906,2.22684,300,0,0,12175,0,0,0,0,0), + (@GUID+26,31413,571,1,8,0,0,5786.44,1941.91,505.149,2.36934,300,0,0,12175,0,0,0,0,0), + (@GUID+27,31413,571,1,8,0,0,5661.63,2067.38,503.874,4.54929,300,0,0,12175,0,0,0,0,0), + (@GUID+28,31413,571,1,8,0,0,5668.35,2009.43,503.913,4.03578,300,0,0,12175,0,0,0,0,0), + (@GUID+29,31413,571,1,8,0,0,5642.46,2101.26,506.525,3.31096,300,0,0,12175,0,0,0,0,0), + (@GUID+30,31413,571,1,8,0,0,5631.38,2042.77,507.283,3.46019,300,0,0,12175,0,0,0,0,0), + (@GUID+31,31413,571,1,8,0,0,5678.41,2089.52,503.9,5.06101,300,0,0,12175,0,0,0,0,0), + (@GUID+32,31413,571,1,8,0,0,5673.21,2141.14,506.24,1.7791,300,0,0,12175,0,0,0,0,0), + (@GUID+33,31413,571,1,8,0,0,5714.69,2139,503.896,3.36816,300,0,0,12175,0,0,0,0,0), + (@GUID+34,31413,571,1,8,0,0,5752.81,2150.26,503.91,1.302,300,0,0,12175,0,0,0,0,0), + (@GUID+35,31413,571,1,8,0,0,5743.7,2171.87,505.784,0.322801,300,0,0,12175,0,0,0,0,0), + (@GUID+36,31413,571,1,8,0,0,5823.38,2141.98,503.957,-0.742144,300,0,0,12175,0,0,0,0,0), + (@GUID+37,31435,571,1,8,0,0,5885.64,1992,514.434,2.80998,300,0,0,12175,0,0,0,0,0), + (@GUID+38,31435,571,1,8,0,0,5849.76,2100.43,503.862,4.68845,300,0,0,12175,0,0,0,0,0), + (@GUID+39,31435,571,1,8,0,0,5879.42,2100.57,509.02,3.56047,300,0,0,12175,0,0,0,0,0), + (@GUID+40,31435,571,1,8,0,0,5893.94,2024.53,513.237,2.60054,300,0,0,12175,0,0,0,0,0), + (@GUID+41,31435,571,1,8,0,0,5891.06,2021.51,512.914,2.56563,300,0,0,12175,0,0,0,0,0), + (@GUID+42,31435,571,1,8,0,0,5863.94,2122.72,507.888,3.63029,300,0,0,12175,0,0,0,0,0), + (@GUID+43,31435,571,1,8,0,0,5860.37,2049.72,503.898,-2.35006,300,0,0,12175,0,0,0,0,0), + (@GUID+44,31435,571,1,8,0,0,5705.1,2164.94,506.448,5.14872,300,0,0,12175,0,0,0,0,0), + (@GUID+45,31435,571,1,8,0,0,5744.73,2172.21,505.841,3.46446,300,0,0,12175,0,0,0,0,0), + (@GUID+46,31435,571,1,8,0,0,5848.65,2096.58,503.949,3.36848,300,0,0,12175,0,0,0,0,0), + (@GUID+47,31435,571,1,8,0,0,5863.02,2051.38,503.989,2.80998,300,0,0,12175,0,0,0,0,0), + (@GUID+48,31435,571,1,8,0,0,5783.02,2195.61,512.984,4.36332,300,0,0,12175,0,0,0,0,0), + (@GUID+49,31435,571,1,8,0,0,5788.44,2198.33,513.466,4.15388,300,0,0,12175,0,0,0,0,0), + (@GUID+50,31641,571,1,8,0,0,5755.43,2052.77,483.235,5.21853,300,0,0,5468,0,0,0,0,0), + (@GUID+51,31435,571,1,8,0,0,5780.13,2200.04,513.765,4.45059,300,0,0,12175,0,0,0,0,0); + +DELETE FROM `creature_template_addon` WHERE `entry`=31641; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES + (31641,0,0,0,1,0,NULL); + +DELETE FROM `creature_equip_template` WHERE `entry`=31435; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES + (31435,1,10611,10614,0); + +DELETE FROM `spell_area` WHERE `spell`=59087 AND `area`=4522; +DELETE FROM `spell_area` WHERE `spell`=59074 AND `area`=4522; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUE + (59087,4522,13258,13282,0,690,2,1,74,11), + (59074,4522,13386,13392,0,1101,2,1,74,11); + +UPDATE `creature_template` SET `minlevel`=79,`maxlevel`=80,`exp`=2,`faction_A`=1980,`faction_H`=1980,`mindmg`=420,`maxdmg`=630,`minrangedmg`=336,`maxrangedmg`=504,`spell1`=13730,`spell2`=25710 WHERE `entry`=31435; +UPDATE `creature_template` SET `minlevel`=79,`maxlevel`=80,`exp`=2,`faction_A`=21,`faction_H`=21,`mindmg`=420,`maxdmg`=630,`attackpower`=157,`minrangedmg`=336,`maxrangedmg`=504,`spell1`=49861,`spell2`=10966,`mingold`=2219,`maxgold`=2219 WHERE `entry`=31413; +UPDATE `creature_template` SET `minlevel`=70,`maxlevel`=70,`exp`=2,`mindmg`=260,`maxdmg`=390,`attackpower`=97,`unit_flags`=33554432,`minrangedmg`=208,`maxrangedmg`=312 WHERE `entry`=31646; +UPDATE `creature_template` SET `minlevel`=80,`maxlevel`=80,`exp`=2,`faction_A`=1978,`mindmg`=420,`maxdmg`=630,`attackpower`=157,`minrangedmg`=336,`maxrangedmg`=504,`rangedattackpower`=126 WHERE `entry`=31440; + +UPDATE `gameobject` SET `phaseMask`=12 WHERE `id` IN (193401,193400); +UPDATE `creature` SET `phaseMask`=4 WHERE `id` IN (31414,31444,31411); diff --git a/sql/updates/world/2013_10_15_01_world_Tirion's_Gambit.sql b/sql/updates/world/2013_10_15_01_world_Tirion's_Gambit.sql new file mode 100644 index 0000000000000..561d6a95d034a --- /dev/null +++ b/sql/updates/world/2013_10_15_01_world_Tirion's_Gambit.sql @@ -0,0 +1,251 @@ +SET @GUID := 268059; +SET @NPC_CRUSADER := 32241; +SET @NPC_TIRION := 32239; +SET @NPC_ZAELOT := 32175; +SET @NPC_LICHKING := 32184; +SET @NPC_DARION := 32312; +SET @NPC_THASSARIAN := 32310; +SET @NPC_INVOKER := 32272; +SET @NPC_EBON_KNIGHT := 32309; +SET @NPC_TRIGGER := 24042; +SET @GO_FROZEN_HEART := 193794; +SET @GO_ESCAPE_PORTAL := 193941; +SET @MENU := 30000; +SET @SPELL_HOOD := 61131; +SET @SPELL_LK_FURY := 60536; +SET @SPELL_SMASH_HEART := 60456; +SET @SPELL_TIRION_CHARGE := 53706; +SET @SPELL_TIRION_CHARGE_TRIGGER := 53705; +SET @SPELL_SMASH_VISUAL := 60484; +SET @SPELL_TIRION_CREDIT := 61487; +SET @SPELL_FEIGN_DEATH := 57685; +SET @SCRIPT_ID := 32239*100; +SET @ZAELOT1 := 123878; +SET @ZAELOT2 := 123879; +SET @ZAELOT3 := 123917; + + -- Tirion's Gambit: Spawning missing npc's +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID+1 AND @GUID+5; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES + (@GUID+1,@NPC_INVOKER,571,1,1,0,0,6131.26,2763.73,573.997,5.13127,300,0,0,126000,19970,0,0,0,0), -- High Invoker Basaleph + (@GUID+2,@NPC_TIRION,571,1,1,0,0,6239.6,2659.06,570.25,0.532619,300,0,0,2789000,4258,0,1,0,0), -- Highlord Tirion Fordring + (@GUID+3,@NPC_CRUSADER,571,1,1,0,0,6243.31,2667.88,570.25,5.12327,300,0,0,63000,19970,0,0,0,0), -- Disguised Crusader + (@GUID+4,@NPC_CRUSADER,571,1,1,0,0,6252.87,2666,570.25,3.65458,300,0,0,63000,19970,0,0,0,0), -- Disguised Crusader + (@GUID+5,@NPC_CRUSADER,571,1,1,0,0,6251.89,2656.13,570.25,2.36652,300,0,0,63000,19970,0,0,0,0); -- Disguised Crusader + +DELETE FROM `creature_template_addon` WHERE `entry` IN (@NPC_TIRION,@NPC_CRUSADER,@NPC_ZAELOT); +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES + (@NPC_TIRION,0,0,65536,1,0,NULL), + (@NPC_CRUSADER,0,0,65536,1,0,NULL), + (@NPC_ZAELOT,0,0,8,1,0,NULL); + +DELETE FROM `creature_equip_template` WHERE `entry` IN(@NPC_CRUSADER,@NPC_DARION,@NPC_THASSARIAN,@NPC_EBON_KNIGHT) AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES + (@NPC_CRUSADER,1,13160,0,0), + (@NPC_DARION,1,40276,40276,0), + (@NPC_THASSARIAN,1,40276,35561,0), + (@NPC_EBON_KNIGHT,1,38707,0,0); + + -- Gossip stuff. +DELETE FROM `gossip_menu` WHERE `entry`=@MENU AND `text_id`=14160; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES + (@MENU,14160); + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=@MENU AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES + (@MENU,0,0,'I\'m ready, Highlord.',1,1,0,0,0,0,NULL); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=30000 AND `SourceEntry`=0 AND `SourceId`=0 AND `ElseGroup`=9 AND `ConditionTypeOrReference`=0 AND `ConditionTarget`=0 AND `ConditionValue1`=13364 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=30000 AND `SourceEntry`=0 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=1 AND `ConditionTarget`=0 AND `ConditionValue1`=61131 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=30000 AND `SourceEntry`=0 AND `SourceId`=0 AND `ElseGroup`=9 AND `ConditionTypeOrReference`=0 AND `ConditionTarget`=0 AND `ConditionValue1`=13403 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES + (15,@MENU,0,0,0,1,0,@SPELL_HOOD,0,0,0,0,0,'','Highlord Tirion Fordring: Only display gossip on player with hood.'), + (15,@MENU,0,0,9,0,0,13403,0,0,0,0,0,'','Highlord Tirion Fordring: Show gossip only if on quest \"Tirion\'s Gambit\". (A)'), + (15,@MENU,0,0,9,0,0,13364,0,0,0,0,0,'','Highlord Tirion Fordring: Show gossip only if on quest \"Tirion\'s Gambit\". (H)'); + + -- Script texts. +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_TIRION,@NPC_LICHKING,@NPC_CRUSADER,@NPC_DARION,@NPC_THASSARIAN); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES + (@NPC_TIRION,0,0,'It is time. May the Light give us strenght.',12,0,100,0,0,0,'Highlord Tirion Fordring SAY 1'), + (@NPC_TIRION,1,0,'Keep your heads down and follow my lead.',12,0,100,0,0,0,'Highlord Tirion Fordring SAY 2'), + (@NPC_TIRION,2,0,'Here it comes. Stand ready.',12,0,100,0,0,0,'Highlord Tirion Fordring SAY 3'), + (@NPC_TIRION,3,0,'Something\'s wrong... I sense a dark presence.',12,0,100,0,0,0,'Highlord Tirion Fordring SAY 4'), + (@NPC_TIRION,4,0,'The Lich King is here. May the Light guide our blades.',12,0,100,0,0,0,'Highlord Tirion Fordring SAY 5'), + (@NPC_TIRION,5,0,'You sound a little too confident. Especially considering the way our last encounter ended.',12,0,100,1,3000,0,'Highlord Tirion Fordring SAY 6'), + (@NPC_TIRION,6,0,'That might be, but i don\'t need to stand on holy ground to run that disembodied heart of yours with the Ashbringer.',12,0,100,1,3000,0,'Highlord Tirion Fordring SAY 7'), + (@NPC_TIRION,7,0,'The heart... the last remaining vestige of your humanity. I had to see for myself. And at last I\'m sure...',12,0,100,1,3000,0,'Highlord Tirion Fordring SAY 8'), + (@NPC_TIRION,8,0,'Only shadows from the past remain. There\'s nothing left to be redeem!',12,0,100,0,0,0,'Highlord Tirion Fordring SAY 9'), + (@NPC_LICHKING,0,0,'Uninvited guests! Did you think you\'d go unnoticed inside my dominion?',12,0,100,1,10000,0,'The Lich King SAY 1'), + (@NPC_LICHKING,1,0,'I must confess... you were not altogether unexpected. I hope you find your final resting place... to your liking.',12,0,100,0,0,0,'The Lich King SAY 2'), + (@NPC_LICHKING,2,0,'Last time we met, you had the advantage of fighting on holy ground. You\'ll find that our situation has been... reversed.',12,0,100,11,3000,0,'The Lich King SAY 3'), + (@NPC_LICHKING,3,0,'I call your bluff. You\'re a paladin after all. Your obsession with redemption goes beyond the inane.',12,0,100,378,6000,0,'The Lich King SAY 4'), + (@NPC_LICHKING,4,0,'You surely wouldn\'t destroy humanity\'s only chance to redeem its most wayward son. You\'d sooner die!',12,0,100,378,6000,0,'The Lich King SAY 5'), + (@NPC_LICHKING,5,0,'Arrrrggggggggggh!!!!',14,0,100,0,0,0,'The Lich King YELL 1'), + (@NPC_LICHKING,6,0,'You... will pay for that old man. Slay them all!',14,0,100,0,0,0,'The Lich King YELL 2'), + (@NPC_CRUSADER,0,0,'Tirion\'s down! Defend him with your lives!',14,0,100,0,0,0,'Disguised Crusader YELL 1'), + (@NPC_DARION,0,0,'I hope you fellows don\'t mind if we crash this party. I brought some old friends with me!',14,0,100,0,0,0,'Highlord Darion Mograine YELL 1'), + (@NPC_DARION,1,0,'Quick, through the portal! He won\'t stay down for long.',12,0,100,0,0,0,'Highlord Darion Mograine SAY 1'), + (@NPC_DARION,2,0,'Patience... we will get our chance soon enough. Be content that for once, it is Tirion who is in our debt.',12,0,100,0,0,0,'Highlord Darion Mograine SAY 1'), + (@NPC_THASSARIAN,0,0,'Looks like whatever Tirion did put some hurt on the Lich King. It\'s too bad we can\'t finish him off...',12,0,100,0,0,0,'Thassarian SAY 1'); + +DELETE FROM `waypoints` WHERE `entry` IN (@NPC_TIRION,@NPC_TIRION*10,@NPC_ZAELOT,@NPC_ZAELOT*10,@NPC_LICHKING,@NPC_DARION); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES + (@NPC_TIRION,1,6240.42,2653.22,570.25,'Tirion - WP1'), + (@NPC_TIRION,2,6225.76,2631.50,570.25,'Tirion - WP2'), + (@NPC_TIRION,3,6195.60,2631.51,570.25,'Tirion - WP3'), + (@NPC_TIRION,4,6189.84,2641.03,570.25,'Tirion - WP4 SAY2'), + (@NPC_TIRION,5,6175.73,2662.40,574.96,'Tirion - WP5'), + (@NPC_TIRION,6,6171.31,2678.86,573.92,'Tirion - WP6'), + (@NPC_TIRION,7,6145.17,2733.31,573.92,'Tirion - WP7'), + (@NPC_TIRION,8,6174.76,2752.84,573.92,'Tirion - WP8'), + (@NPC_TIRION,9,6165.79,2760.66,573.92,'Tirion - WP9'), + + (@NPC_TIRION*10,1,6163.36,2755.39,573.92,'Tirion - WP1 - 2'), + (@NPC_TIRION*10,2,6141.94,2758.79,573.91,'Tirion - WP1 - 2'), + + (@NPC_ZAELOT,1,6129.06,2697.1,573.997,'Zaelot - WP1'), + (@NPC_ZAELOT,2,6155.42,2712.37,573.91,'Zaelot - WP2'), + (@NPC_ZAELOT,3,6133.85,2757.58,573.92,'Zaelot - WP3'), + (@NPC_ZAELOT*10,1,6133.85,2757.58,573.92,'Zaelot - WP1 - 2'), + (@NPC_ZAELOT*10,2,6155.42,2712.37,573.91,'Zaelot - WP2 - 2'), + (@NPC_ZAELOT*10,3,6129.06,2697.1,573.997,'Zaelot - WP3 - 2'), + (@NPC_LICHKING,1,6162.51,2697.37,573.91,'The Lich King - WP1'), + (@NPC_LICHKING,2,6133.85,2757.58,573.92,'The Lich King - WP2'), + (@NPC_DARION,1,6163.98,2694.17,573.91,'Darion - WP1'), + (@NPC_DARION,2,6138.88,2747.51,573.92,'Darion - WP2'); + +--" +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=53705 AND `spell_effect`=53706 AND `type`=0; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (53705,53706,0,'Tirion Charge'); + +UPDATE `creature_template` SET `gossip_menu_id`=@MENU,`faction_A`=2070,`faction_H`=2070,`AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@NPC_TIRION; +UPDATE `creature_template` SET `faction_A`=2070,`faction_H`=2070,`AIName`='SmartAI', `ScriptName`='' WHERE `entry`=@NPC_CRUSADER; +UPDATE `creature_template` SET `minlevel`=83,`maxlevel`=83,`exp`=2,`faction_A`=14,`faction_H`=14,`mindmg`=468,`maxdmg`=702,`unit_flags`=2,`AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@NPC_LICHKING; +UPDATE `creature_template` SET `minlevel`=83,`maxlevel`=83,`faction_A`=2144,`mindmg`=435,`maxdmg`=653,`attackpower`=163,`dmg_multiplier`=19.4,`AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@NPC_DARION; +UPDATE `creature_template` SET `faction_A`=2144,`faction_H`=2144,`AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@NPC_EBON_KNIGHT; +UPDATE `creature_template` SET `minlevel`=80,`maxlevel`=80,`exp`=2,`faction_A`=2036,`faction_H`=2036,`mindmg`=420,`maxdmg`=630,`attackpower`=157,`AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@NPC_THASSARIAN; + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(@NPC_TIRION,@SCRIPT_ID,@SCRIPT_ID+1,(@GUID+3)*100,(@GUID+4)*100,(@GUID+5)*100,@NPC_CRUSADER,@ZAELOT1*100,@ZAELOT2*100,@ZAELOT3*100,@NPC_LICHKING,@NPC_LICHKING*100,(@GUID+3)*100+1,(@GUID+4)*100+1,(@GUID+5)*100+1,@NPC_ZAELOT*100+1,@NPC_DARION*100,@NPC_THASSARIAN,@NPC_EBON_KNIGHT,@NPC_DARION*100+1,@NPC_DARION); +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_TIRION,0,0,0,62,0,100,0,@MENU,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Highlord Tirion Fordring - Close gossipmenu'), + (@NPC_TIRION,0,1,0,62,0,100,0,@MENU,0,0,0,80,@SCRIPT_ID,0,0,0,0,0,1,0,0,0,0,0,0,0,'Highlord Tirion Fordring - On gossip option select - Run script'), + (@NPC_TIRION,0,2,0,40,0,100,0,4,0,0,0,54,15000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - stop waypoint movement.'), + + (@NPC_LICHKING,0,0,0,25,0,100,0,0,0,0,0,53,0,@NPC_LICHKING,0,0,0,0,1,0,0,0,0,0,0,0,'The Lich King: On spawn - start waypoint movement.'), + (@NPC_LICHKING,0,1,0,40,0,100,0,2,0,0,0,80,@SCRIPT_ID+1,0,0,0,0,0,9,@NPC_TIRION,0,50,0,0,0,0,'Lich King: On reach wp2 start script2.'), + (@NPC_LICHKING,0,2,0,40,0,100,0,2,0,0,0,80,@NPC_LICHKING*100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King: On reach wp2 start script3.'), + + (@SCRIPT_ID,9,0,0,0,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On run script - remove gossip flags'), + (@SCRIPT_ID,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 1'), + (@SCRIPT_ID,9,2,0,0,0,100,0,0,0,0,0,80,(@GUID+3)*100,0,0,0,0,0,10,@GUID+3,@NPC_CRUSADER,0,0,0,0,0,'Crusader1 - run script.'), + (@SCRIPT_ID,9,3,0,0,0,100,0,0,0,0,0,80,(@GUID+4)*100,0,0,0,0,0,10,@GUID+4,@NPC_CRUSADER,0,0,0,0,0,'Crusader2 - run script.'), + (@SCRIPT_ID,9,4,0,0,0,100,0,0,0,0,0,80,(@GUID+5)*100,0,0,0,0,0,10,@GUID+5,@NPC_CRUSADER,0,0,0,0,0,'Crusader3 - run script.'), + (@SCRIPT_ID,9,5,0,0,0,100,0,1500,1500,0,0,53,0,@NPC_TIRION,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Start waypoint movement'), + (@SCRIPT_ID,9,6,0,0,0,100,0,40000,40000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 2'), + (@SCRIPT_ID,9,7,0,0,0,100,0,67000,67000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 3'), + (@SCRIPT_ID,9,8,0,0,0,100,0,0,0,0,0,80,@ZAELOT1*100,0,0,0,0,0,10,@ZAELOT1,@NPC_ZAELOT,0,0,0,0,0,'Zaelot1 - run script.'), + (@SCRIPT_ID,9,9,0,0,0,100,0,0,0,0,0,80,@ZAELOT2*100,0,0,0,0,0,10,@ZAELOT2,@NPC_ZAELOT,0,0,0,0,0,'Zaelot2 - run script.'), + (@SCRIPT_ID,9,10,0,0,0,100,0,0,0,0,0,80,@ZAELOT3*100,0,0,0,0,0,10,@ZAELOT3,@NPC_ZAELOT,0,0,0,0,0,'Zaelot3 - run script.'), + (@SCRIPT_ID,9,11,0,0,0,100,0,46000,46000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 4'), + (@SCRIPT_ID,9,12,0,0,0,100,0,1000,1000,0,0,12,@NPC_LICHKING,1,360000,0,0,0,8,0,0,0,6163.98,2694.17,573.91,2.01,'Tirion - Summon The Lich King.'), + (@SCRIPT_ID,9,13,0,0,0,100,0,3000,3000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 5'), + + ((@GUID+3)*100,9,0,0,0,0,100,0,0,0,0,0,29,2,2,0,0,0,0,10,@GUID+2,@NPC_TIRION,0,0,0,0,0,'Crusader1 on script: - Follow Tirion.'), + ((@GUID+4)*100,9,0,0,0,0,100,0,0,0,0,0,29,2,4,0,0,0,0,10,@GUID+2,@NPC_TIRION,0,0,0,0,0,'Crusader2 on script: - Follow Tirion.'), + ((@GUID+5)*100,9,0,0,0,0,100,0,0,0,0,0,29,2,3,0,0,0,0,10,@GUID+2,@NPC_TIRION,0,0,0,0,0,'Crusader3 on script: - Follow Tirion.'), + ((@GUID+3)*100,9,1,0,0,0,100,0,105000,105000,0,0,69,0,0,0,0,0,0,8,0,0,0,6168.65,2762.28,573.91,1.99,'Crusader3: On script: Move to table pos 3'), + ((@GUID+4)*100,9,1,0,0,0,100,0,105000,105000,0,0,69,0,0,0,0,0,0,8,0,0,0,6171.70,2763.64,573.91,1.99,'Crusader3: On script: Move to table pos 3'), + ((@GUID+5)*100,9,1,0,0,0,100,0,105000,105000,0,0,69,0,0,0,0,0,0,8,0,0,0,6175.18,2764.91,573.91,1.99,'Crusader3: On script: Move to table pos 3'), + + (@ZAELOT1*100,9,0,0,0,0,100,0,0,0,0,0,53,0,@NPC_ZAELOT,0,0,0,0,1,0,0,0,0,0,0,0,'Zaelot1 - Start waypoint movement on script'), + (@ZAELOT1*100,9,1,0,0,0,100,0,37000,37000,0,0,50,@GO_FROZEN_HEART,360000,0,0,0,0,8,0,0,0,6132.38,2760.76,575.017,4.36332,'Zaelot1 - Summon frozen heart.'), + (@ZAELOT1*100,9,2,0,0,0,100,0,6000,6000,0,0,53,0,@NPC_ZAELOT*10,0,0,0,0,1,0,0,0,0,0,0,0,'Zaelot1 - Start waypoint movement on script'), + (@ZAELOT2*100,9,0,0,0,0,100,0,0,0,0,0,29,2,2,0,0,0,0,10,@ZAELOT1,@NPC_ZAELOT,0,0,0,0,0,'Zaelot2 on script: - Follow Zaelot1.'), + (@ZAELOT3*100,9,0,0,0,0,100,0,0,0,0,0,29,2,4,0,0,0,0,10,@ZAELOT1,@NPC_ZAELOT,0,0,0,0,0,'Zaelot3 on script: - Follow Zaelot1.'), + + + (@NPC_LICHKING*100,9,0,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.1139,'Lich King: Set rotation'), + + (@SCRIPT_ID+1,9,0,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,9,@NPC_LICHKING,0,30,0,0,0,0,'Lich King: Say 1'), + (@SCRIPT_ID+1,9,1,0,0,0,100,0,1000,1000,0,0,53,0,@NPC_TIRION*10,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Start waypoint movement on script'), + (@SCRIPT_ID+1,9,2,0,0,0,100,0,8000,8000,0,0,1,1,0,0,0,0,0,9,@NPC_LICHKING,0,30,0,0,0,0,'Lich King: Say 2'), + (@SCRIPT_ID+1,9,3,0,0,0,100,0,13000,13000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 6'), + (@SCRIPT_ID+1,9,4,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,9,@NPC_LICHKING,0,30,0,0,0,0,'Lich King: Say 3'), + (@SCRIPT_ID+1,9,5,0,0,0,100,0,10000,10000,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 7'), + (@SCRIPT_ID+1,9,6,0,0,0,100,0,6000,6000,0,0,1,3,0,0,0,0,0,9,@NPC_LICHKING,0,30,0,0,0,0,'Lich King: Say 4'), + (@SCRIPT_ID+1,9,7,0,0,0,100,0,8000,8000,0,0,1,4,0,0,0,0,0,9,@NPC_LICHKING,0,30,0,0,0,0,'Lich King: Say 5'), + (@SCRIPT_ID+1,9,8,0,0,0,100,0,6000,6000,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 8'), + (@SCRIPT_ID+1,9,9,0,0,0,100,0,12000,12000,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Say text 9'), + (@SCRIPT_ID+1,9,10,0,0,0,100,0,4000,4000,0,0,11,@SPELL_TIRION_CHARGE_TRIGGER,0,0,0,0,0,19,@NPC_LICHKING,0,0,0,0,0,0,'Tirion - Cast charge'), + (@SCRIPT_ID+1,9,11,0,0,0,100,0,0,0,0,0,97,109,0,0,0,0,0,1,0,0,0,6132.38,2760.76,573.917,5.11289,'Tirion - Jump to pos'), + (@SCRIPT_ID+1,9,12,0,0,0,100,0,1000,1000,0,0,11,@SPELL_SMASH_VISUAL,1,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Cast visual'), + (@SCRIPT_ID+1,9,13,0,0,0,100,0,0,0,0,0,70,1,0,0,0,0,0,14,0,@GO_FROZEN_HEART,0,0,0,0,0,'Tirion - Despawn heart'), + (@SCRIPT_ID+1,9,14,0,0,0,100,0,500,500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.11289,'Tirion: Set rotation'), + (@SCRIPT_ID+1,9,15,0,0,0,100,0,500,500,0,0,11,@SPELL_FEIGN_DEATH,1,0,0,0,0,1,0,0,0,0,0,0,0,'Tirion - Emote dead'), + (@SCRIPT_ID+1,9,16,0,0,0,100,0,0,0,0,0,0,0,51,0,0,0,0,19,@NPC_INVOKER,30,0,0,0,0,0,'Kill Invoker'), + (@SCRIPT_ID+1,9,17,0,0,0,100,0,0,0,0,0,80,(@GUID+3)*100+1,0,0,0,0,0,10,@GUID+3,@NPC_CRUSADER,0,0,0,0,0,'Crusader1 - run script 2.'), + (@SCRIPT_ID+1,9,18,0,0,0,100,0,0,0,0,0,80,(@GUID+4)*100+1,0,0,0,0,0,10,@GUID+4,@NPC_CRUSADER,0,0,0,0,0,'Crusader2 - run script 2.'), + (@SCRIPT_ID+1,9,19,0,0,0,100,0,0,0,0,0,80,(@GUID+5)*100+1,0,0,0,0,0,10,@GUID+5,@NPC_CRUSADER,0,0,0,0,0,'Crusader3 - run script 2.'), + (@SCRIPT_ID+1,9,27,0,0,0,100,0,0,0,0,0,97,109,5,0,0,0,0,19,@NPC_LICHKING,30,0,6128.03,2744.86,573.92,0.726,'Lich King: Knock back (HACKY)'), + (@SCRIPT_ID+1,9,28,0,0,0,100,0,1500,1500,0,0,66,0,0,0,0,0,0,19,@NPC_LICHKING,30,0,0,0,0,0.726,'Lich King: Set Rotation after knock.'), + (@SCRIPT_ID+1,9,29,0,0,0,100,0,0,0,0,0,102,0,0,0,0,0,0,19,@NPC_LICHKING,30,0,0,0,0,0,'Lich King: Stop health regen.'), + (@SCRIPT_ID+1,9,30,0,0,0,100,0,1200,1200,0,0,1,5,0,0,0,0,0,19,@NPC_LICHKING,30,0,0,0,0,0,'Lich King: Say 5'), + (@SCRIPT_ID+1,9,31,0,0,0,100,0,0,0,0,0,90,8,0,0,0,0,0,19,@NPC_LICHKING,30,0,0,0,0,0,'Lich King: Set Kneel.'), + (@SCRIPT_ID+1,9,32,0,0,0,100,0,3000,3000,0,0,1,6,0,0,0,0,0,19,@NPC_LICHKING,30,0,0,0,0,0,'Lich King: Say 6'), + (@SCRIPT_ID+1,9,33,0,0,0,100,0,0,0,0,0,0,0,80,(@NPC_ZAELOT*100)+1,0,0,0,9,@NPC_ZAELOT,0,530,0,0,0,0,'Zaelot: Run script 2.'), + (@SCRIPT_ID+1,9,34,0,0,0,100,0,0,0,0,0,12,@NPC_DARION,1,3600000,0,0,0,8,0,0,0,6163.98,2694.17,573.91,2.01,'Tirion - Summon Darion.'), + (@SCRIPT_ID+1,9,35,0,0,0,100,0,0,0,0,0,12,@NPC_THASSARIAN,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Thassarian.'), + (@SCRIPT_ID+1,9,36,0,0,0,100,0,0,0,0,0,12,@NPC_EBON_KNIGHT,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Ebon Knight.'), + (@SCRIPT_ID+1,9,37,0,0,0,100,0,0,0,0,0,12,@NPC_EBON_KNIGHT,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Ebon Knight.'), + (@SCRIPT_ID+1,9,38,0,0,0,100,0,0,0,0,0,12,@NPC_EBON_KNIGHT,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Ebon Knight.'), + (@SCRIPT_ID+1,9,39,0,0,0,100,0,0,0,0,0,12,@NPC_EBON_KNIGHT,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Ebon Knight.'), + (@SCRIPT_ID+1,9,40,0,0,0,100,0,0,0,0,0,12,@NPC_EBON_KNIGHT,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Ebon Knight.'), + (@SCRIPT_ID+1,9,41,0,0,0,100,0,0,0,0,0,12,@NPC_EBON_KNIGHT,1,360000,0,0,0,8,0,0,0,6164.98,2694.17,573.91,2.01,'Tirion - Summon Ebon Knight.'), + + + ((@GUID+3)*100+1,9,0,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader1 - set movement flag run.'), + ((@GUID+3)*100+1,9,1,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,6133.51,2757.91,573.92,5.13,'Crusader1 - move run on script.'), + ((@GUID+3)*100+1,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader1 - say text1.'), + ((@GUID+3)*100+1,9,3,0,0,0,100,0,5500,5500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.13,'Crusader1: Set Rotation.'), + ((@GUID+3)*100+1,9,4,0,0,0,100,0,2000,2000,0,0,5,333,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader1 - emote ready 2h.'), + + ((@GUID+4)*100+1,9,0,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader2 - set movement flag run.'), + ((@GUID+4)*100+1,9,1,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,6128.98,2761.52,573.92,5.13,'Crusader2 - move run on script.'), + ((@GUID+4)*100+1,9,2,0,0,0,100,0,5500,5500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.13,'Crusader1: Set Rotation.'), + ((@GUID+4)*100+1,9,3,0,0,0,100,0,2000,2000,0,0,5,333,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader2 - emote ready 2h.'), + + ((@GUID+5)*100+1,9,0,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader3 - set movement flag run.'), + ((@GUID+5)*100+1,9,2,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,6134.08,2763.32,573.92,5.13,'Crusader3 - move run on script.'), + ((@GUID+5)*100+1,9,3,0,0,0,100,0,5500,5500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.13,'Crusader1: Set Rotation.'), + ((@GUID+5)*100+1,9,4,0,0,0,100,0,2000,2000,0,0,5,333,0,0,0,0,0,8,0,0,0,0,0,0,0,'Crusader3 - emote ready 2h.'), + + (@NPC_ZAELOT*100+1,9,0,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,8,0,0,0,0,0,0,0,'Zaelot - set movement flag run.'), + (@NPC_ZAELOT*100+1,9,1,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,6139.53,2746.13,573.91,2.052,'Zaelot - move run on script.'), + + (@NPC_DARION,0,0,0,25,0,100,0,0,0,0,0,80,@NPC_DARION*100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Darion: On spawn - start script.'), + (@NPC_DARION,0,1,0,40,0,100,0,2,0,0,0,80,@NPC_DARION*100+1,0,0,0,0,0,1,0,0,50,0,0,0,0,'Darion: On reach wp2 start script2.'), + + (@NPC_DARION*100,9,0,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,8,0,0,0,0,0,0,0,'Darion - set movement flag run.'), + (@NPC_DARION*100,9,1,0,0,0,100,0,0,0,0,0,53,0,@NPC_DARION,0,0,0,0,1,0,0,0,0,0,0,0,'Darion - Start waypoint movement on script'), + (@NPC_DARION*100,9,2,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Darion - Say text 1'), + + + (@NPC_THASSARIAN,0,0,0,25,0,100,0,0,0,0,0,29,2,3,0,0,0,0,19,@NPC_DARION,30,0,0,0,0,0,'Thassarian: - Follow Darion.'), + (@NPC_EBON_KNIGHT,0,0,0,25,0,100,0,0,0,0,0,29,2,3,0,0,0,0,19,@NPC_DARION,30,0,0,0,0,0,'Ebon Knight: - Follow Darion.'), + + (@NPC_DARION*100+1,9,0,0,0,0,100,0,500,500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.695,'Darion: Set rotation'), + (@NPC_DARION*100+1,9,1,0,0,0,100,0,0,0,0,0,5,333,0,0,0,0,0,8,0,0,0,0,0,0,0,'Darion - emote ready 2h.'), + (@NPC_DARION*100+1,9,2,0,0,0,100,0,8000,8000,0,0,11,@SPELL_TIRION_CREDIT,16,0,0,0,0,1,0,0,0,0,0,0,0,'Darion - give quest credit.'), + (@NPC_DARION*100+1,9,3,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Darion - Say text 2'), + (@NPC_DARION*100+1,9,4,0,0,0,100,0,0,0,0,0,50,@GO_ESCAPE_PORTAL,360000,0,0,0,0,8,0,0,0,6134.13,2754.42,573.92,4.66,'Darion - Summon portal.'), + (@NPC_DARION*100+1,9,5,0,0,0,100,0,7000,7000,0,0,1,0,0,0,0,0,0,19,@NPC_THASSARIAN,30,0,0,0,0,0,'Thassarian: Say 1'), + (@NPC_DARION*100+1,9,6,0,0,0,100,0,8000,8000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Darion - Say text 3'), + + + (@NPC_DARION*100+1,9,7,0,0,0,100,0,9000,9000,0,0,41,0,0,0,0,0,0,9,@NPC_CRUSADER,1,130,0,0,0,0,'Darion - Say text 2'), + (@NPC_DARION*100+1,9,8,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,9,@NPC_THASSARIAN,1,130,0,0,0,0,'Darion - Say text 2'), + (@NPC_DARION*100+1,9,9,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,9,@NPC_EBON_KNIGHT,1,130,0,0,0,0,'Darion - Say text 2'), + (@NPC_DARION*100+1,9,10,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,9,@NPC_INVOKER,1,130,0,0,0,0,'Darion - Say text 2'), + (@NPC_DARION*100+1,9,11,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,9,@NPC_TIRION,0,130,0,0,0,0,'Darion - Say text 2'), + (@NPC_DARION*100+1,9,12,0,0,0,100,0,0,0,0,0,11,@SPELL_LK_FURY,16,0,0,0,0,9,@NPC_LICHKING,30,0,0,0,0,0,'Darion - give quest credit.'), + (@NPC_DARION*100+1,9,13,0,0,0,100,0,100,100,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Darion - Say text 2');