From b414e005391509893d19307116bd5fd4a416b335 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sat, 11 May 2019 01:02:10 +0200 Subject: [PATCH] DB/Misc: Firelands Raid fixup and various missing gameobject loots By Malcrom --- .../world/4.3.4/2019_05_11_00_world.sql | 2223 +++++++++++++++++ 1 file changed, 2223 insertions(+) create mode 100644 sql/updates/world/4.3.4/2019_05_11_00_world.sql diff --git a/sql/updates/world/4.3.4/2019_05_11_00_world.sql b/sql/updates/world/4.3.4/2019_05_11_00_world.sql new file mode 100644 index 00000000000..920f69e0935 --- /dev/null +++ b/sql/updates/world/4.3.4/2019_05_11_00_world.sql @@ -0,0 +1,2223 @@ +-- ###### FIRELANDS RAID ####### + +-- #### MISSING SPAWNS #### + +SET @GUID := 259517; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+14; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(@GUID,53119,720,5723,0,10,1,169,0,0,0,-321.908,-42.94792,46.25879,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Forward Guard +(@GUID+1,53120,720,5723,0,10,1,169,0,0,0,-321.908,-42.94792,46.25879,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Pathfinder +(@GUID+2,53120,720,5723,0,10,1,169,0,0,0,-321.908,-42.94792,46.25879,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Pathfinder +(@GUID+3,53121,720,5723,0,10,1,169,0,0,0,-321.908,-42.94792,46.25879,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Cauterizer +(@GUID+4,53121,720,5723,0,10,1,169,0,0,0,-321.908,-42.94792,46.25879,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Cauterizer +(@GUID+5,53119,720,5723,0,10,1,169,0,0,0,-372.3038,172.092,51.75303,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Forward Guard +(@GUID+6,53120,720,5723,0,10,1,169,0,0,0,-372.3038,172.092,51.75303,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Pathfinder +(@GUID+7,53120,720,5723,0,10,1,169,0,0,0,-372.3038,172.092,51.75303,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Pathfinder +(@GUID+8,53121,720,5723,0,10,1,169,0,0,0,-372.3038,172.092,51.75303,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Cauterizer +(@GUID+9,53121,720,5723,0,10,1,169,0,0,0,-372.3038,172.092,51.75303,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Cauterizer +(@GUID+10,53119,720,5723,0,10,1,169,0,0,0,-108.7795,186.2517,46.03816,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Forward Guard +(@GUID+11,53120,720,5723,0,10,1,169,0,0,0,-108.7795,186.2517,46.03816,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Pathfinder +(@GUID+12,53120,720,5723,0,10,1,169,0,0,0,-108.7795,186.2517,46.03816,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Pathfinder +(@GUID+13,53121,720,5723,0,10,1,169,0,0,0,-108.7795,186.2517,46.03816,0,7200,0,0,1,0,0,0,0,0,'',0), -- Flamewaker Cauterizer +(@GUID+14,53121,720,5723,0,10,1,169,0,0,0,-108.7795,186.2517,46.03816,0,7200,0,0,1,0,0,0,0,0,'',0); -- Flamewaker Cauterizer + +SET @GUID2 := 259532; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID2 AND @GUID2+98; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(@GUID2+0,53167,720,5723,0,10,1,169,0,0,0,-276.6843,41.91213,45.35071,5.965626,7200,5,0,1,0,1,0,0,0,'',0), -- Unbound Pyrelord +(@GUID2+1,53167,720,5723,0,10,1,169,0,0,0,-270.5109,42.42294,45.14347,3.865399,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+2,53167,720,5723,0,10,1,169,0,0,0,-206.1126,68.57784,45.44525,5.987893,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+3,53167,720,5723,0,10,1,169,0,0,0,-161.3222,90.24065,44.15379,5.985834,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+4,53167,720,5723,0,10,1,169,0,0,0,-122.4128,157.0385,45.89782,2.493402,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+5,53167,720,5723,0,10,1,169,0,0,0,-147.1262,93.08182,46.18668,3.435899,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+6,53167,720,5723,0,10,1,169,0,0,0,-202.1265,68.52276,45.39911,5.190247,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+7,53167,720,5723,0,10,1,169,0,0,0,-269.1763,-13.92625,45.71712,0.9491643,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+8,53167,720,5723,0,10,1,169,0,0,0,-262.8092,-31.93193,44.84212,4.763632,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+9,53167,720,5723,0,10,1,169,0,0,0,-109.3055,158.3408,45.42254,0.9343109,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+10,53167,720,5723,0,10,1,169,0,0,0,-158.314,24.46349,47.36732,3.559301,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+11,53167,720,5723,0,10,1,169,0,0,0,-168.8049,8.172405,45.90154,3.386038,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+12,53167,720,5723,0,10,1,169,0,0,0,-102.7759,129.4745,44.37204,3.375907,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+13,53167,720,5723,0,10,1,169,0,0,0,-86.22427,141.5085,44.26887,1.563152,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+14,53167,720,5723,0,10,1,169,0,0,0,-256.2281,-121.2811,47.16806,5.207555,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+15,53167,720,5723,0,10,1,169,0,0,0,-234.0506,-114.0653,44.93639,6.133397,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+16,53167,720,5723,0,10,1,169,0,0,0,-297.7867,-158.6402,47.25644,0.3551415,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+17,53167,720,5723,0,10,1,169,0,0,0,-321.3785,-158.9601,46.42138,2.399026,7200,5,0,1,0,1,0,0,0, '',0), +(@GUID2+18,53167,720,5723,0,10,1,169,0,0,0,-180.3632,-111.2616,44.84176,1.542116,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+19,53167,720,5723,0,10,1,169,0,0,0,-164.6227,-97.53687,45.47591,5.998709,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+20,53167,720,5723,0,10,1,169,0,0,0,-332.9045,-382.0243,98.77692,5.340707,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+21,53167,720,5723,0,10,1,169,0,0,0,-344.6024,-445.9774,97.41188,0,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+22,53167,720,5723,0,10,1,169,0,0,0,-297.4412,-468.646,97.32492,1.538416,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+23,53732,720,5723,0,10,1,169,0,0,0,-275.8127,48.33434,45.58138,5.73042,7200,5,0,1,0,1,0,0,0,'',0), -- Unbound Smoldering Elemental +(@GUID2+24,53732,720,5723,0,10,1,169,0,0,0,-280.0336,48.47387,45.68745,4.020945,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+25,53732,720,5723,0,10,1,169,0,0,0,-278.418,54.4534,45.17031,5.715661,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+26,53732,720,5723,0,10,1,169,0,0,0,-274.7964,51.99644,45.28107,3.796305,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+27,53732,720,5723,0,10,1,169,0,0,0,-287.2409,41.87092,45.06458,3.517867,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+28,53732,720,5723,0,10,1,169,0,0,0,-275.6454,40.27006,44.9939,0.1339999,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+29,53732,720,5723,0,10,1,169,0,0,0,-207.123,65.25473,45.50879,3.25333,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+30,53732,720,5723,0,10,1,169,0,0,0,-164.336,105.1694,44.43118,0.03072417,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+31,53732,720,5723,0,10,1,169,0,0,0,-196.4111,75.47244,45.17435,1.005881,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+32,53732,720,5723,0,10,1,169,0,0,0,-275.5377,-23.3689,44.84652,2.997763,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+33,53732,720,5723,0,10,1,169,0,0,0,-202.9054,58.47692,45.49751,4.643652,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+34,53732,720,5723,0,10,1,169,0,0,0,-201.7132,63.35182,45.50879,2.255596,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+35,53732,720,5723,0,10,1,169,0,0,0,-192.1488,69.26083,44.5137,1.265942,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+36,53732,720,5723,0,10,1,169,0,0,0,-202.1495,65.48528,45.45435,1.369471,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+37,53732,720,5723,0,10,1,169,0,0,0,-257.2971,-11.86456,45.30503,4.275762,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+38,53732,720,5723,0,10,1,169,0,0,0,-151.4161,98.11755,44.67968,5.433315,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+39,53732,720,5723,0,10,1,169,0,0,0,-158.6715,100.8908,44.46167,1.204686,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+40,53732,720,5723,0,10,1,169,0,0,0,-256.4294,-27.91595,44.73833,2.4705,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+41,53732,720,5723,0,10,1,169,0,0,0,-272.388,-36.72192,45.25582,2.716904,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+42,53732,720,5723,0,10,1,169,0,0,0,-119.9492,159.6759,45.93256,1.366302,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+43,53732,720,5723,0,10,1,169,0,0,0,-165.7637,23.01448,46.34075,0.9665809,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+44,53732,720,5723,0,10,1,169,0,0,0,-111.791,161.1232,45.50874,0.0598145,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+45,53732,720,5723,0,10,1,169,0,0,0,-134.2929,104.7542,44.18518,4.140121,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+46,53732,720,5723,0,10,1,169,0,0,0,-110.3961,156.9474,45.73896,0.4560016,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+47,53732,720,5723,0,10,1,169,0,0,0,-255.6688,-41.30792,45.47445,5.182671,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+48,53732,720,5723,0,10,1,169,0,0,0,-111.9919,148.5889,45.69379,3.96384,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+49,53732,720,5723,0,10,1,169,0,0,0,-111.4053,154.0346,46.0312,4.579682,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+50,53732,720,5723,0,10,1,169,0,0,0,-171.7458,20.92673,46.03371,0.01055347,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+51,53732,720,5723,0,10,1,169,0,0,0,-108.998,158.4959,45.43342,5.300189,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+52,53732,720,5723,0,10,1,169,0,0,0,-164.412,36.97984,46.50557,1.897489,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+53,53732,720,5723,0,10,1,169,0,0,0,-128.2148,108.0074,44.40571,3.766255,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+54,53732,720,5723,0,10,1,169,0,0,0,-164.7766,27.85715,46.50399,3.731901,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+55,53732,720,5723,0,10,1,169,0,0,0,-260.0592,-42.99407,45.13956,1.474468,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+56,53732,720,5723,0,10,1,169,0,0,0,-137.5853,95.07005,45.03121,5.214277,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+57,53732,720,5723,0,10,1,169,0,0,0,-86.87517,131.0294,44.66411,2.768813,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+58,53732,720,5723,0,10,1,169,0,0,0,-154.2186,36.73228,47.24023,2.133572,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+59,53732,720,5723,0,10,1,169,0,0,0,-149.6682,29.64738,47.45347,4.691382,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+60,53732,720,5723,0,10,1,169,0,0,0,-89.34843,128.1456,44.93942,0.9094536,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+61,53732,720,5723,0,10,1,169,0,0,0,-78.48528,145.2386,44.08061,0.1264309,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+62,53732,720,5723,0,10,1,169,0,0,0,-248.2324,-101.8939,44.38709,0.1621865,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+63,53732,720,5723,0,10,1,169,0,0,0,-236.0051,-104.8291,44.62871,4.605893,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+64,53732,720,5723,0,10,1,169,0,0,0,-331.4478,-148.077,44.91689,1.726737,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+65,53732,720,5723,0,10,1,169,0,0,0,-245.0473,-113.9878,44.54136,0.3302995,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+66,53732,720,5723,0,10,1,169,0,0,0,-229.4793,-104.8948,44.58199,4.927076,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+67,53732,720,5723,0,10,1,169,0,0,0,-316.753,-141.3418,44.31506,2.280704,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+68,53732,720,5723,0,10,1,169,0,0,0,-255.8931,-111.3366,45.36486,4.766363,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+69,53732,720,5723,0,10,1,169,0,0,0,-304.5661,-141.9564,44.88961,2.921435,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+70,53732,720,5723,0,10,1,169,0,0,0,-293.8529,-151.9763,45.76464,3.361226,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+71,53732,720,5723,0,10,1,169,0,0,0,-309.7515,-153.3134,45.18107,2.260765,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+72,53732,720,5723,0,10,1,169,0,0,0,-316.1972,-146.3763,44.67804,0.5464777,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+73,53732,720,5723,0,10,1,169,0,0,0,-224.9519,-110.4812,45.17419,5.185316,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+74,53732,720,5723,0,10,1,169,0,0,0,-185.7705,-106.2085,44.64887,2.970343,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+75,53732,720,5723,0,10,1,169,0,0,0,-62.34107,149.2198,44.28344,3.229567,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+76,53732,720,5723,0,10,1,169,0,0,0,-177.1096,-104.5545,44.82006,1.264225,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+77,53732,720,5723,0,10,1,169,0,0,0,-166.4199,-84.22461,44.98132,3.492331,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+78,53732,720,5723,0,10,1,169,0,0,0,-73.09178,145.1925,44.09242,3.684391,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+79,53732,720,5723,0,10,1,169,0,0,0,-173.9364,-94.04182,44.72625,4.414414,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+80,53732,720,5723,0,10,1,169,0,0,0,-178.191,-96.50586,44.56102,4.599286,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+81,53732,720,5723,0,10,1,169,0,0,0,-66.0522,139.7516,44.13591,1.073388,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+82,53732,720,5723,0,10,1,169,0,0,0,-157.9909,-90.6277,45.51159,2.45454,7200,5,0,1,0,1,0,0,0,'',0), +(@GUID2+83,53635,720,5723,0,10,1,169,0,0,0,-96.20139,467.0191,93.57361,5.689773,7200,0,0,1,0,0,0,0,0,'',0), -- Cinderweb Drone +(@GUID2+84,53206,720,5723,0,10,1,169,0,0,0,-224.9336,104.9766,47.71038,0,7200,0,0,1,0,0,0,0,0,'',0), -- Hell Hound +(@GUID2+85,53206,720,5723,0,10,1,169,0,0,0,-224.9336,104.9766,47.71038,0,7200,0,0,1,0,0,0,0,0,'',0), -- Hell Hound +(@GUID2+86,53206,720,5723,0,10,1,169,0,0,0,-224.9336,104.9766,47.71038,0,7200,0,0,1,0,0,0,0,0,'',0), -- Hell Hound +(@GUID2+87,53206,720,5723,0,10,1,169,0,0,0,-101.9722,479.0885,93.55383,4.886922,7200,0,0,1,0,0,0,0,0,'',0), -- Hell Hound +(@GUID2+88,53206,720,5723,0,10,1,169,0,0,0,-90.11806,478.375,93.73091,3.839724,7200,0,0,1,0,0,0,0,0,'',0), -- Hell Hound +(@GUID2+89,53206,720,5723,0,10,1,169,0,0,0,-103.7083,468.2448,93.54972,1.029744,7200,0,0,1,0,0,0,0,0,'',0), -- Hell Hound +(@GUID2+90,53793,720,5723,0,10,1,169,0,0,0,-58.50347,-259.2396,55.45721,0.3316126,7200,0,0,1,0,0,0,0,0,'',0), -- Harbinger of Flame +(@GUID2+91,53793,720,5723,0,10,1,169,0,0,0,-60.27431,-293.4931,54.99759,5.707227,7200,0,0,1,0,0,0,0,0,'',0), -- Harbinger of Flame +(@GUID2+92,53619,720,5723,0,10,1,169,0,0,0,523.1285,-61.98785,84.03033,3.159046,7200,0,0,1,0,0,0,0,0,'',0), -- Druid of the Flame +(@GUID2+93,53619,720,5723,0,10,1,169,0,0,0,517.7049,-62.02257,84.03033,3.159046,7200,0,0,1,0,0,0,0,0,'',0), -- Druid of the Flame +(@GUID2+94,53619,720,5723,0,10,1,169,0,0,0,521.6805,-54.99653,84.03033,3.176499,7200,0,0,1,0,0,0,0,0,'',0), -- Druid of the Flame +(@GUID2+95,53619,720,5723,0,10,1,169,0,0,0,525.0174,-75.0434,84.03033,3.159046,7200,0,0,1,0,0,0,0,0,'',0), -- Druid of the Flame +(@GUID2+96,53619,720,5723,0,10,1,169,0,0,0,521.9514,-68.67014,84.03033,3.106686,7200,0,0,1,0,0,0,0,0,'',0), -- Druid of the Flame +(@GUID2+97,53619,720,5723,0,10,1,169,0,0,0,524.4566,-48.89236,84.03033,3.159046,7200,0,0,1,0,0,0,0,0,'',0), -- Druid of the Flame +(@GUID2+98,53635,720,5723,0,15,1,169,0,0,0,-127.309,410.7500,91.72800,4.799650,7200,0,0,1,0,0,0,0,0,'',0); -- Cinderweb Drone + +-- #### PATHING ##### + +-- Pathing for Flamewaker Forward Guard Entry: 53119 'TDB FORMAT' +SET @NPC := 338997; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-321.908,`position_y`=-42.94792,`position_z`=46.25879 WHERE `guid`=@NPC; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-321.908,`position_y`=-42.94792,`position_z`=46.25879 WHERE `guid`=338995; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-321.908,`position_y`=-42.94792,`position_z`=46.25879 WHERE `guid`=338996; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-321.908,`position_y`=-42.94792,`position_z`=46.25879 WHERE `guid`=339001; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-321.908,`position_y`=-42.94792,`position_z`=46.25879 WHERE `guid`=339002; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-321.908,-42.94792,46.25879,0,0,0,0,100,0), +(@PATH,2,-320.408,-28.97049,46.25879,0,0,0,0,100,0), +(@PATH,3,-318.8438,-19.44097,46.25879,0,0,0,0,100,0), +(@PATH,4,-306.7708,-8.206597,46.25879,0,0,0,0,100,0), +(@PATH,5,-304.7014,7.189236,46.25879,0,0,0,0,100,0), +(@PATH,6,-306.3038,23.49306,46.25879,0,0,0,0,100,0), +(@PATH,7,-318.6007,37.14757,46.25879,0,0,0,0,100,0), +(@PATH,8,-322.0972,47.05035,46.25879,0,0,0,0,100,0), +(@PATH,9,-319.8264,54.19618,46.25879,0,0,0,0,100,0), +(@PATH,10,-322.0972,47.05035,46.25879,0,0,0,0,100,0), +(@PATH,11,-318.6007,37.14757,46.25879,0,0,0,0,100,0), +(@PATH,12,-306.3038,23.49306,46.25879,0,0,0,0,100,0), +(@PATH,13,-304.7014,7.189236,46.25879,0,0,0,0,100,0), +(@PATH,14,-306.7708,-8.206597,46.25879,0,0,0,0,100,0), +(@PATH,15,-318.8438,-19.44097,46.25879,0,0,0,0,100,0), +(@PATH,16,-320.408,-28.97049,46.25879,0,0,0,0,100,0), +(@PATH,17,-321.908,-42.94792,46.25879,0,0,0,0,100,0), +(@PATH,18,-321.5226,-54.18576,46.25879,0,0,0,0,100,0), +(@PATH,19,-311.5278,-62.73785,46.25879,0,0,0,0,100,0), +(@PATH,20,-300.7465,-76.26215,46.25879,0,0,0,0,100,0), +(@PATH,21,-299.5746,-85.62153,46.23136,0,0,0,0,100,0), +(@PATH,22,-300.7465,-76.26215,46.25879,0,0,0,0,100,0), +(@PATH,23,-311.5278,-62.73785,46.25879,0,0,0,0,100,0), +(@PATH,24,-321.5226,-54.18576,46.25879,0,0,0,0,100,0); +-- 0x20307C5A0033DFC00076BC00012C1078 .go xyz -321.908 -42.94792 46.25879 +-- Set Formation/Group Combat Assistance +DELETE FROM `creature_formations` WHERE `leaderGUID`=@NPC; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(@NPC,@NPC,0,0,515,0,0), +(@NPC,338995,5,90,515,15,35), +(@NPC,338996,5,270,515,15,35), +(@NPC,339001,7,0,515,15,35), +(@NPC,339002,7,315,515,15,35), +(@NPC,@GUID,7,45,515,15,35), +(@NPC,@GUID+1,14,0,515,15,35), +(@NPC,@GUID+2,14,337,515,15,35), +(@NPC,@GUID+3,14,23,515,15,35), +(@NPC,@GUID+4,21,348,515,15,35); + +-- Pathing for Flamewaker Forward Guard Entry: 53119 'TDB FORMAT' +SET @NPC := 339391; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-372.3038,`position_y`=172.092,`position_z`=51.75303 WHERE `guid`=@NPC; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-372.3038,`position_y`=172.092,`position_z`=51.75303 WHERE `guid`=339392; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-372.3038,`position_y`=172.092,`position_z`=51.75303 WHERE `guid`=339393; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-372.3038,`position_y`=172.092,`position_z`=51.75303 WHERE `guid`=339394; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-372.3038,`position_y`=172.092,`position_z`=51.75303 WHERE `guid`=339395; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-372.3038,172.092,51.75303,0,0,0,0,100,0), +(@PATH,2,-373.6198,161.3455,51.06641,0,0,0,0,100,0), +(@PATH,3,-373.0608,150.7101,50.1925,0,0,0,0,100,0), +(@PATH,4,-369.5052,139.8524,48.3894,0,0,0,0,100,0), +(@PATH,5,-367.3403,127.9861,47.13379,0,0,0,0,100,0), +(@PATH,6,-363.3108,115.6128,46.25879,0,0,0,0,100,0), +(@PATH,7,-354.1111,104.6875,46.25879,0,0,0,0,100,0), +(@PATH,8,-343.0885,91.32118,46.25879,0,0,0,0,100,0), +(@PATH,9,-336.4028,80.28819,46.25879,0,0,0,0,100,0), +(@PATH,10,-329.6354,73.69618,46.21712,0,0,0,0,100,0), +(@PATH,11,-325.9496,71.16666,46.21712,0,0,0,0,100,0), +(@PATH,12,-336.4028,80.28819,46.25879,0,0,0,0,100,0), +(@PATH,13,-343.0885,91.32118,46.25879,0,0,0,0,100,0), +(@PATH,14,-354.1111,104.6875,46.25879,0,0,0,0,100,0), +(@PATH,15,-363.3108,115.6128,46.25879,0,0,0,0,100,0), +(@PATH,16,-367.3403,127.9861,47.13379,0,0,0,0,100,0), +(@PATH,17,-369.5052,139.8524,48.3894,0,0,0,0,100,0), +(@PATH,18,-373.0608,150.7101,50.1925,0,0,0,0,100,0), +(@PATH,19,-373.6198,161.3455,51.06641,0,0,0,0,100,0), +(@PATH,20,-372.3038,172.092,51.75303,0,0,0,0,100,0), +(@PATH,21,-373.3056,182.4913,52.62119,0,0,0,0,100,0), +(@PATH,22,-382.5712,192.9983,52.60727,0,0,0,0,100,0), +(@PATH,23,-373.3056,182.4913,52.62119,0,0,0,0,100,0); +-- 0x20307C5A0033DFC00076BC00002C1078 .go xyz -372.3038 172.092 51.75303 +-- Set Formation/Group Combat Assistance +DELETE FROM `creature_formations` WHERE `leaderGUID`=@NPC; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(@NPC,@NPC,0,0,515,0,0), +(@NPC,339392,5,90,515,11,22), +(@NPC,339393,5,270,515,11,22), +(@NPC,339394,7,0,515,11,22), +(@NPC,339395,7,315,515,11,22), +(@NPC,@GUID+5,7,45,515,15,35), +(@NPC,@GUID+6,14,0,515,15,35), +(@NPC,@GUID+7,14,337,515,15,35), +(@NPC,@GUID+8,14,23,515,15,35), +(@NPC,@GUID+9,21,348,515,15,35); + +-- Pathing for Flamewaker Forward Guard Entry: 53119 'TDB FORMAT' +SET @NPC := 339408; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-108.7795,`position_y`=186.2517,`position_z`=46.03816 WHERE `guid`=@NPC; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-108.7795,`position_y`=186.2517,`position_z`=46.03816 WHERE `guid`=339409; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-108.7795,`position_y`=186.2517,`position_z`=46.03816 WHERE `guid`=339410; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-108.7795,`position_y`=186.2517,`position_z`=46.03816 WHERE `guid`=339411; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-108.7795,`position_y`=186.2517,`position_z`=46.03816 WHERE `guid`=339412; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-108.7795,186.2517,46.03816,0,0,0,0,100,0), +(@PATH,2,-124.1979,192.9201,46.16316,0,0,0,0,100,0), +(@PATH,3,-142.9167,191.8455,46.25879,0,0,0,0,100,0), +(@PATH,4,-158.3316,181.8594,46.25879,0,0,0,0,100,0), +(@PATH,5,-171.3385,177.0729,46.32669,0,0,0,0,100,0), +(@PATH,6,-188.7674,171.3021,46.70169,0,0,0,0,100,0), +(@PATH,7,-210.3819,154.6389,47.49508,0,0,0,0,100,0), +(@PATH,8,-228.9427,141.2188,48.80294,0,0,0,0,100,0), +(@PATH,9,-240.7535,126.309,49.22325,0,0,0,0,100,0), +(@PATH,10,-237.7552,110.2083,48.38585,0,0,0,0,100,0), +(@PATH,11,-242.3316,96.03819,47.38379,0,0,0,0,100,0), +(@PATH,12,-264.1233,84.73611,46.25879,0,0,0,0,100,0), +(@PATH,13,-279.9445,74.68924,46.21712,0,0,0,0,100,0), +(@PATH,14,-293.184,70.45834,46.21712,0,0,0,0,100,0), +(@PATH,15,-300.2135,69.48264,46.21712,0,0,0,0,100,0), +(@PATH,16,-293.184,70.45834,46.21712,0,0,0,0,100,0), +(@PATH,17,-279.9445,74.68924,46.21712,0,0,0,0,100,0), +(@PATH,18,-264.1233,84.73611,46.25879,0,0,0,0,100,0), +(@PATH,19,-242.3316,96.03819,47.38379,0,0,0,0,100,0), +(@PATH,20,-237.7552,110.2083,48.38585,0,0,0,0,100,0), +(@PATH,21,-240.7535,126.309,49.22325,0,0,0,0,100,0), +(@PATH,22,-228.9427,141.2188,48.80294,0,0,0,0,100,0), +(@PATH,23,-210.3819,154.6389,47.49508,0,0,0,0,100,0), +(@PATH,24,-188.7674,171.3021,46.70169,0,0,0,0,100,0), +(@PATH,25,-171.3385,177.0729,46.32669,0,0,0,0,100,0), +(@PATH,26,-158.3316,181.8594,46.25879,0,0,0,0,100,0), +(@PATH,27,-142.9167,191.8455,46.25879,0,0,0,0,100,0), +(@PATH,28,-124.1979,192.9201,46.16316,0,0,0,0,100,0), +(@PATH,29,-108.7795,186.2517,46.03816,0,0,0,0,100,0), +(@PATH,30,-90.24653,178.4879,44.77043,0,0,0,0,100,0), +(@PATH,31,-80.2934,173.9618,44.62834,0,0,0,0,100,0), +(@PATH,32,-65.49306,174.7396,45.30272,0,0,0,0,100,0), +(@PATH,33,-55.44965,177.6424,45.96141,0,0,0,0,100,0), +(@PATH,34,-41.10243,187.1458,46.94774,0,0,0,0,100,0), +(@PATH,35,-31.02604,196.4861,47.45307,0,0,0,0,100,0), +(@PATH,36,-41.10243,187.1458,46.94774,0,0,0,0,100,0), +(@PATH,37,-55.44965,177.6424,45.96141,0,0,0,0,100,0), +(@PATH,38,-65.49306,174.7396,45.30272,0,0,0,0,100,0), +(@PATH,39,-80.2934,173.9618,44.62834,0,0,0,0,100,0), +(@PATH,40,-90.24653,178.4879,44.77043,0,0,0,0,100,0); +-- 0x20307C5A0033DFC00076BC00002C1079 .go xyz -108.7795 186.2517 46.03816 +-- Set Formation/Group Combat Assistance +DELETE FROM `creature_formations` WHERE `leaderGUID`=@NPC; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(@NPC,@NPC,0,0,515,0,0), +(@NPC,339409,5,90,515,15,35), +(@NPC,339410,5,270,515,15,35), +(@NPC,339411,7,0,515,15,35), +(@NPC,339412,7,315,515,15,35), +(@NPC,@GUID+10,7,45,515,15,35), +(@NPC,@GUID+11,14,0,515,15,35), +(@NPC,@GUID+12,14,337,515,15,35), +(@NPC,@GUID+13,14,23,515,15,35), +(@NPC,@GUID+14,21,348,515,15,35); + +-- Pathing for Hell Hound Entry: 53206 'TDB FORMAT' +SET @NPC := 338985; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-224.9336,`position_y`=104.9766,`position_z`=47.71038 WHERE `guid`=@NPC; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-224.9336,`position_y`=104.9766,`position_z`=47.71038 WHERE `guid`=338984; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=-224.9336,`position_y`=104.9766,`position_z`=47.71038 WHERE `guid`=338986; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-224.9336,104.9766,47.71038,0,0,1,0,100,0), +(@PATH,2,-219.4826,71.83334,45.77411,0,0,1,0,100,0), +(@PATH,3,-190.1927,40.42014,46.44735,0,0,1,0,100,0), +(@PATH,4,-189.6424,13.42014,48.15081,0,0,1,0,100,0), +(@PATH,5,-210.9618,-28.0191,44.88379,0,0,1,0,100,0), +(@PATH,6,-237.6476,-43.40278,45.46126,0,0,1,0,100,0), +(@PATH,7,-253.4306,-66.27952,44.84212,0,0,1,0,100,0), +(@PATH,8,-289.7917,-84.76215,45.61857,0,0,1,0,100,0), +(@PATH,9,-329.0451,-87.35069,44.88379,0,0,1,0,100,0), +(@PATH,10,-344.4445,-81.59549,48.01834,0,0,1,0,100,0), +(@PATH,11,-310.9375,-40.10352,45.75879,0,0,1,0,100,0), +(@PATH,12,-323.8611,-2.223958,45.15601,0,0,1,0,100,0), +(@PATH,13,-325.5417,25.8316,45.07617,0,0,1,0,100,0), +(@PATH,14,-306.8368,58.57813,44.90955,0,0,1,0,100,0), +(@PATH,15,-296.0177,89.71716,44.93654,0,0,1,0,100,0), +(@PATH,16,-281.9219,113.4236,45.30661,0,0,1,0,100,0), +(@PATH,17,-266.9896,135.0295,46.85097,0,0,1,0,100,0), +(@PATH,18,-247.9271,178.8576,46.69046,0,0,1,0,100,0), +(@PATH,19,-234.566,139.6406,49.1394,0,0,1,0,100,0); +-- 0x20307C5A0033F5800076BC00002C107A .go xyz -224.9336 104.9766 47.71038 +-- Set Formation/Group Combat Assistance +DELETE FROM `creature_formations` WHERE `leaderGUID`=@NPC; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(@NPC,@NPC,0,0,515,0,0), +(@NPC,338984,5,90,515,0,0), +(@NPC,338986,5,270,515,0,0), +(@NPC,@GUID2+84,7,0,515,0,0), +(@NPC,@GUID2+85,7,315,515,0,0), +(@NPC,@GUID2+86,7,45,515,0,0); + +-- Pathing for Inferno Hawk Entry: 53102 'TDB FORMAT' +SET @NPC := 338765; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-392.7135,`position_y`=34.55384,`position_z`=253.1733 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,50331648,1,0, '100712'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-392.7135,34.55384,253.1733,0,0,1,0,100,0), +(@PATH,2,-370.7466,87.58683,253.1733,0,0,1,0,100,0), +(@PATH,3,-317.7135,109.5538,253.1733,0,0,1,0,100,0), +(@PATH,4,-264.6805,87.58682,253.1733,0,0,1,0,100,0), +(@PATH,5,-242.7135,34.55381,253.1733,0,0,1,0,100,0), +(@PATH,6,-264.6805,-18.47919,253.1733,0,0,1,0,100,0), +(@PATH,7,-317.7136,-40.44618,253.1733,0,0,1,0,100,0), +(@PATH,8,-370.7466,-18.47917,253.1733,0,0,1,0,100,0); +-- 0xF130CF6E00000117 .go xyz -392.7135 34.55384 253.1733 + +-- Pathing for Inferno Hawk Entry: 53102 'TDB FORMAT' +SET @NPC := 317639; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-237.099,`position_y`=42.32118,`position_z`=101.0419 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,50331648,1,0, '100712'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-237.099,42.32118,101.0419,0,0,1,0,100,0), +(@PATH,2,-228.8802,70.06771,96.63481,0,0,1,0,100,0), +(@PATH,3,-187.5851,69.85764,108.722,0,0,1,0,100,0), +(@PATH,4,-123.4149,56.78993,103.7323,0,0,1,0,100,0), +(@PATH,5,-31.80903,71.27952,94.00635,0,0,1,0,100,0), +(@PATH,6,16.98958,144.9653,87.82775,0,0,1,0,100,0), +(@PATH,7,-8.736112,202.7361,83.17997,0,0,1,0,100,0), +(@PATH,8,-154.4097,229.6389,91.23218,0,0,1,0,100,0), +(@PATH,9,-199.8767,179.4722,92.43323,0,0,1,0,100,0), +(@PATH,10,-251.217,127.3368,101.2793,0,0,1,0,100,0), +(@PATH,11,-352.7517,96.45139,111.5156,0,0,1,0,100,0), +(@PATH,12,-423.0347,42.82813,114.0473,0,0,1,0,100,0), +(@PATH,13,-434.5764,-34.42188,76.9772,0,0,1,0,100,0), +(@PATH,14,-383.3472,-99.28993,83.18089,0,0,1,0,100,0), +(@PATH,15,-304.9306,-114.5174,84.19317,0,0,1,0,100,0), +(@PATH,16,-232.8854,-90.88541,86.93888,0,0,1,0,100,0), +(@PATH,17,-224.7986,-27.65625,92.15595,0,0,1,0,100,0), +(@PATH,18,-237.9271,16.69618,98.83128,0,0,1,0,100,0); +-- 0xF130CF6E000001C3 .go xyz -237.099 42.32118 101.0419 + +-- Pathing for Inferno Hawk Entry: 53102 'TDB FORMAT' +SET @NPC := 291069; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-285.1406,`position_y`=-70.15278,`position_z`=104.7876 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,50331648,1,0, '100712'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-285.1406,-70.15278,104.7876,0,0,1,0,100,0), +(@PATH,2,-309.0243,0.5069445,87.62025,0,0,1,0,100,0), +(@PATH,3,-379.5451,14.34549,93.36171,0,0,1,0,100,0), +(@PATH,4,-435.2726,82.52604,86.38303,0,0,1,0,100,0), +(@PATH,5,-417.9792,179.5694,94.78255,0,0,1,0,100,0), +(@PATH,6,-311.4462,208.6007,98.90543,0,0,1,0,100,0), +(@PATH,7,-240.9931,216.1424,101.0235,0,0,1,0,100,0), +(@PATH,8,-181.5868,161.6632,104.6662,0,0,1,0,100,0), +(@PATH,9,-154.9063,109.5365,105.266,0,0,1,0,100,0), +(@PATH,10,-128.8194,18.37153,101.2021,0,0,1,0,100,0), +(@PATH,11,-183.375,-65.33854,104.2286,0,0,1,0,100,0); +-- 0xF130CF6E000001C4 .go xyz -285.1406 -70.15278 104.7876 + +-- Pathing for Inferno Hawk Entry: 53102 'TDB FORMAT' +SET @NPC := 338775; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-226.5382,`position_y`=276.592,`position_z`=150.3136 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,50331648,1,0, '100712'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-226.5382,276.592,150.3136,0,0,1,0,100,0), +(@PATH,2,-247.559,262.9028,150.3136,0,0,1,0,100,0), +(@PATH,3,-290.7101,242.691,150.3136,0,0,1,0,100,0), +(@PATH,4,-340.4149,212.1684,150.3136,0,0,1,0,100,0), +(@PATH,5,-407.9358,179.2865,150.3136,0,0,1,0,100,0), +(@PATH,6,-437.7639,129.316,150.3136,0,0,1,0,100,0), +(@PATH,7,-438.2587,62.80729,150.3136,0,0,1,0,100,0), +(@PATH,8,-450.5052,0.9826389,150.3136,0,0,1,0,100,0), +(@PATH,9,-351.1424,-123.2639,150.3136,0,0,1,0,100,0), +(@PATH,10,-232.7014,-155.2986,150.3136,0,0,1,0,100,0), +(@PATH,11,-121.5938,-101.2569,150.3136,0,0,1,0,100,0), +(@PATH,12,-14.28993,0.7013889,150.3136,0,0,1,0,100,0), +(@PATH,13,-21.03472,107.1615,150.3136,0,0,1,0,100,0), +(@PATH,14,-14.14583,200.5885,150.3136,0,0,1,0,100,0), +(@PATH,15,-138.9201,214.6979,150.3136,0,0,1,0,100,0); +-- 0xF130CF6E0000027D .go xyz -226.5382 276.592 150.3136 + +-- Pathing for Molten Lord Entry: 53115 'TDB FORMAT' +SET @NPC := 317631; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-315.6172,`position_y`=0.8027344,`position_z`=45.19922 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-315.6172,0.8027344,45.19922,0,0,0,0,100,0), +(@PATH,2,-311.8151,12.23643,46.25879,0,0,0,0,100,0), +(@PATH,3,-318.2248,-18.41982,46.25879,0,0,0,0,100,0), +(@PATH,4,-314.2695,-35.43164,46.25879,0,0,0,0,100,0), +(@PATH,5,-292.5177,42.65309,44.88379,0,0,0,0,100,0), +(@PATH,6,-303.9478,43.0495,44.88379,0,0,0,0,100,0), +(@PATH,7,-301.7851,42.84567,44.88379,0,0,0,0,100,0), +(@PATH,8,-320.3184,-20.37305,46.25879,0,0,0,0,100,0), +(@PATH,9,-317.3516,-20.5957,46.25879,0,0,0,0,100,0), +(@PATH,10,-312.9572,-16.99128,46.25879,0,0,0,0,100,0), +(@PATH,11,-292.5469,41.97852,44.88379,0,0,0,0,100,0), +(@PATH,12,-293.0033,40.73581,44.88379,0,0,0,0,100,0), +(@PATH,13,-315.3398,0.875,45.29883,0,0,0,0,100,0), +(@PATH,14,-312.0137,-17.35156,46.25879,0,0,0,0,100,0), +(@PATH,15,-318.4902,-17.64844,46.25879,0,0,0,0,100,0), +(@PATH,16,-319.2683,-10.73502,46.25879,0,0,0,0,100,0), +(@PATH,17,-319.1244,-11.57518,46.25879,0,0,0,0,100,0), +(@PATH,18,-315.873,1.335938,45.10693,0,0,0,0,100,0), +(@PATH,19,-288.7085,-7.160568,44.84212,0,0,0,0,100,0), +(@PATH,20,-300.7301,49.31605,44.88379,0,0,0,0,100,0), +(@PATH,21,-326.9922,7.966797,45.4353,0,0,0,0,100,0), +(@PATH,22,-315.625,3.125,45.19629,0,0,0,0,100,0), +(@PATH,23,-308.0016,40.44204,46.25879,0,0,0,0,100,0), +(@PATH,24,-310.6758,27.0332,46.25879,0,0,0,0,100,0), +(@PATH,25,-316.0234,1.068359,45.05273,0,0,0,0,100,0), +(@PATH,26,-306.49,41.87524,45.48267,0,0,0,0,100,0), +(@PATH,27,-306.6033,41.39339,45.73474,0,0,0,0,100,0), +(@PATH,28,-326.7131,10.36231,45.07776,0,0,0,0,100,0), +(@PATH,29,-326.0215,6.279297,45.38379,0,0,0,0,100,0), +(@PATH,30,-326.1422,7.911587,45.3335,0,0,0,0,100,0), +(@PATH,31,-305.7139,45.75121,44.88379,0,0,0,0,100,0), +(@PATH,32,-306.041,45.16133,44.94041,0,0,0,0,100,0), +(@PATH,33,-315.4766,2.945313,45.24976,0,0,0,0,100,0); +-- 0x20307C5A0033DEC00076BC00002C1079 .go xyz -315.6172 0.8027344 45.19922 + +-- Pathing for Molten Lord Entry: 53115 'TDB FORMAT' +SET @NPC := 317633; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-181.0087,`position_y`=137.5677,`position_z`=45.67178 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-181.0087,137.5677,45.67178,0,0,0,0,100,0), +(@PATH,2,-188.9392,118.1667,45.60462,0,0,0,0,100,0), +(@PATH,3,-211.276,98.95139,46.12628,0,0,0,0,100,0), +(@PATH,4,-215.941,95.65452,45.94012,0,0,0,0,100,0), +(@PATH,5,-228.5174,75.62327,45.52728,0,0,0,0,100,0), +(@PATH,6,-249.9566,59.17882,45.13379,0,0,0,0,100,0), +(@PATH,7,-280.1684,58.69097,44.88379,0,0,0,0,100,0), +(@PATH,8,-295.8629,55.90972,44.88379,0,0,0,0,100,0), +(@PATH,9,-300.033,47.92188,44.88379,0,0,0,0,100,0), +(@PATH,10,-294.2222,35.95486,44.88379,0,0,0,0,100,0), +(@PATH,11,-287.4826,28.71007,44.92546,0,0,0,0,100,0), +(@PATH,12,-264.2847,14.4184,45.06551,0,0,0,0,100,0), +(@PATH,13,-265.0486,-7.605903,45.59212,0,0,0,0,100,0), +(@PATH,14,-273.1233,-34.59375,45.18481,0,0,0,0,100,0), +(@PATH,15,-288.5781,-47.09549,45.48682,0,0,0,0,100,0), +(@PATH,16,-282.9132,-67.24132,44.85636,0,0,0,0,100,0), +(@PATH,17,-269.349,-84.74306,44.85636,0,0,0,0,100,0), +(@PATH,18,-244.1007,-74.79861,45.30068,0,0,0,0,100,0), +(@PATH,19,-212.6615,-77.53819,45.58405,0,0,0,0,100,0), +(@PATH,20,-204.9427,-42.19965,44.84212,0,0,0,0,100,0), +(@PATH,21,-230.0608,-13.52431,44.88379,0,0,0,0,100,0), +(@PATH,22,-230.3993,30.64063,47.85601,0,0,0,0,100,0), +(@PATH,23,-198.8576,41.5191,46.40255,0,0,0,0,100,0), +(@PATH,24,-184.0573,54.47222,45.89852,0,0,0,0,100,0), +(@PATH,25,-179.3785,95.07639,44.98428,0,0,0,0,100,0), +(@PATH,26,-176.2587,103.0417,44.70057,0,0,0,0,100,0), +(@PATH,27,-161.5208,118.0035,44.94338,0,0,0,0,100,0), +(@PATH,28,-140.3403,140.4861,45.98119,0,0,0,0,100,0), +(@PATH,29,-122.8229,143.3889,44.7812,0,0,0,0,100,0), +(@PATH,30,-99.34028,144.25,44.58732,0,0,0,0,100,0), +(@PATH,31,-96.32291,163.8663,44.23576,0,0,0,0,100,0), +(@PATH,32,-131.0955,174.9722,44.78816,0,0,0,0,100,0), +(@PATH,33,-144.2778,171.8924,44.88379,0,0,0,0,100,0), +(@PATH,34,-172.9635,160.7951,45.15799,0,0,0,0,100,0); +-- 0xF130CF7B000001BE .go xyz -181.0087 137.5677 45.67178 + +-- Pathing for Molten Lord Entry: 53115 'TDB FORMAT' +SET @NPC := 339374; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-422.059,`position_y`=252.9896,`position_z`=69.60962 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-422.059,252.9896,69.60962,0,0,0,0,100,0), +(@PATH,2,-435.4722,281.6858,81.22299,0,10000,0,0,100,0), +(@PATH,3,-423.1163,254.5851,70.28735,0,0,0,0,100,0), +(@PATH,4,-413.0017,239.809,61.63111,0,0,0,0,100,0), +(@PATH,5,-398.4653,219.0712,52.76956,0,10000,0,0,100,0), +(@PATH,6,-406.6371,233.9826,58.3938,0,0,0,0,100,0); +-- 0x20307C5A0033DEC00076BC0000AC107A .go xyz -435.4722 281.6858 81.22299 + +-- Pathing for Molten Lord Entry: 53115 'TDB FORMAT' +SET @NPC := 339375; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-264.9648,`position_y`=140.1777,`position_z`=46.96655 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-264.9648,140.1777,46.96655,0,0,0,0,100,0), +(@PATH,2,-282.9442,149.6941,47.95229,0,0,0,0,100,0), +(@PATH,3,-280.8378,148.5619,47.95229,0,0,0,0,100,0), +(@PATH,4,-243.6816,176.8691,46.57682,0,0,0,0,100,0), +(@PATH,5,-229.6836,180.5098,46.75397,0,0,0,0,100,0), +(@PATH,6,-230.3609,180.306,46.7389,0,0,0,0,100,0), +(@PATH,7,-255.5176,172.2109,45.71585,0,0,0,0,100,0), +(@PATH,8,-242.6074,172.4902,46.71708,0,0,0,0,100,0), +(@PATH,9,-244.3601,172.5512,46.60662,0,0,0,0,100,0), +(@PATH,10,-310.416,135.416,45.11544,0,0,0,0,100,0), +(@PATH,11,-288.8047,147.7637,47.38466,0,0,0,0,100,0), +(@PATH,12,-282.2207,153.4434,48.07729,0,0,0,0,100,0), +(@PATH,13,-252.6387,177.7305,46.43021,0,0,0,0,100,0), +(@PATH,14,-252.084,177.084,46.3527,0,0,0,0,100,0), +(@PATH,15,-289.0957,151.8301,47.85939,0,0,0,0,100,0), +(@PATH,16,-228.7637,178.1582,46.61481,0,0,0,0,100,0), +(@PATH,17,-231.5242,176.9789,46.61254,0,0,0,0,100,0), +(@PATH,18,-228.5766,181.4767,46.84369,0,0,0,0,100,0), +(@PATH,19,-279.3194,153.7848,48.07729,0,0,0,0,100,0), +(@PATH,20,-278.2695,146.4375,47.32729,0,0,0,0,100,0), +(@PATH,21,-309.8315,134.7213,45.19881,0,0,0,0,100,0), +(@PATH,22,-262.9668,171.3379,45.54007,0,0,0,0,100,0), +(@PATH,23,-223.8806,178.2951,47.01508,0,0,0,0,100,0), +(@PATH,24,-265.2188,135.1758,46.94506,0,0,0,0,100,0), +(@PATH,25,-287.2598,149.541,47.7748,0,0,0,0,100,0), +(@PATH,26,-285.6074,156.291,48.11684,0,0,0,0,100,0), +(@PATH,27,-251.8846,177.127,46.2515,0,0,0,0,100,0), +(@PATH,28,-287.9465,153.6387,48.07643,0,0,0,0,100,0), +(@PATH,29,-285.9594,154.9296,48.07729,0,0,0,0,100,0), +(@PATH,30,-282.6973,156.1309,48.07729,0,0,0,0,100,0), +(@PATH,31,-286.8105,147.7832,47.46083,0,0,0,0,100,0), +(@PATH,32,-263.3184,171.3301,45.6558,0,0,0,0,100,0), +(@PATH,33,-252.4629,176.8418,46.34049,0,0,0,0,100,0), +(@PATH,34,-229.4372,179.5256,46.75397,0,0,0,0,100,0), +(@PATH,35,-261.0527,140.5586,47.19482,0,0,0,0,100,0), +(@PATH,36,-283.6055,145.8105,47.1017,0,0,0,0,100,0), +(@PATH,37,-282.8845,145.7268,47.09669,0,0,0,0,100,0), +(@PATH,38,-255.3727,160.2127,47.08373,0,0,0,0,100,0), +(@PATH,39,-261.957,145.623,46.92419,0,0,0,0,100,0), +(@PATH,40,-280.3867,151.1855,48.1183,0,0,0,0,100,0), +(@PATH,41,-256.7285,177.8477,46.19425,0,0,0,0,100,0), +(@PATH,42,-296.875,132.291,45.25814,0,0,0,0,100,0), +(@PATH,43,-289.8477,155.3418,47.85805,0,0,0,0,100,0), +(@PATH,44,-279.9727,143.6035,46.29115,0,0,0,0,100,0), +(@PATH,45,-263.8457,139.9121,47.08373,0,0,0,0,100,0), +(@PATH,46,-264.6721,140.1738,47.06096,0,0,0,0,100,0), +(@PATH,47,-278.0371,146.5762,47.16835,0,0,0,0,100,0), +(@PATH,48,-275.5492,145.3771,46.50305,0,0,0,0,100,0); +-- 0x20307C5A0033DEC00076BC00002C1078 .go xyz -264.9648 140.1777 46.96655 + +-- Pathing for Ancient Core Hound Entry: 53134 'TDB FORMAT' +SET @NPC := 338776; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-334.099,`position_y`=-10.50694,`position_z`=45.07383 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-334.099,-10.50694,45.07383,0,0,0,0,100,0), +(@PATH,2,-328.9004,10.89063,45.00879,0,0,0,0,100,0), +(@PATH,3,-342.7344,34.98785,45.44946,0,0,0,0,100,0), +(@PATH,4,-350.9045,56.20833,45.75879,0,0,0,0,100,0), +(@PATH,5,-351.8542,71.22916,44.88379,0,0,0,0,100,0), +(@PATH,6,-366.8316,56.65799,45.00879,0,0,0,0,100,0), +(@PATH,7,-381.5746,39.14931,45.63379,0,0,0,0,100,0), +(@PATH,8,-387.684,13.48264,45.27071,0,0,0,0,100,0), +(@PATH,9,-386.7681,17.34451,45.19657,0,0,0,0,100,0), +(@PATH,10,-419.6493,12.29861,45.39695,0,0,0,0,100,0), +(@PATH,11,-420.834,41.66602,44.88379,0,0,0,0,100,0), +(@PATH,12,-403.1719,71.92014,46.24575,0,0,0,0,100,0), +(@PATH,13,-379.7917,93.65799,44.90371,0,0,0,0,100,0), +(@PATH,14,-357.099,79.98959,44.88379,0,0,0,0,100,0), +(@PATH,15,-379.0295,39.98438,45.79053,0,0,0,0,100,0), +(@PATH,16,-372.4201,12.97917,45.64571,0,0,0,0,100,0), +(@PATH,17,-348.0243,1.697917,45.42093,0,0,0,0,100,0), +(@PATH,18,-342.9236,-10.37674,45.19883,0,0,0,0,100,0), +(@PATH,19,-335.0833,-31.09028,44.82383,0,0,0,0,100,0); +-- 0xF150CF8E000001BD .go xyz -334.099 -10.50694 45.07383 + +-- Pathing for Ancient Core Hound Entry: 53134 'TDB FORMAT' +SET @NPC := 338790; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-91.91779,`position_y`=159.7955,`position_z`=44.18009 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-91.91779,159.7955,44.18009,0,0,0,0,100,0), +(@PATH,2,-71.78906,174.4805,44.87834,0,0,0,0,100,0), +(@PATH,3,-72.9967,173.5785,44.87834,0,0,0,0,100,0), +(@PATH,4,-109.2891,157.0898,45.67011,0,0,0,0,100,0), +(@PATH,5,-56.02437,180.1204,45.84032,0,0,0,0,100,0), +(@PATH,6,-85.01172,169.332,44.87834,0,0,0,0,100,0), +(@PATH,7,-56.29519,178.2374,45.85985,0,0,0,0,100,0), +(@PATH,8,-90.625,167.1875,44.00334,0,0,0,0,100,0), +(@PATH,9,-58.42187,174.3274,45.62255,0,0,0,0,100,0), +(@PATH,10,-85.68341,169.0967,44.87834,0,0,0,0,100,0), +(@PATH,11,-51.51376,163.8793,44.61914,0,0,0,0,100,0), +(@PATH,12,-110.4004,156.8438,45.76362,0,0,0,0,100,0), +(@PATH,13,-106.6895,159.3281,45.14643,0,0,0,0,100,0), +(@PATH,14,-57.22096,179.6014,45.75902,0,0,0,0,100,0), +(@PATH,15,-59.08561,178.8226,45.64989,0,0,0,0,100,0), +(@PATH,16,-89.06835,167.1672,43.8737,0,0,0,0,100,0), +(@PATH,17,-95.61015,145.4671,44.89152,0,0,0,0,100,0), +(@PATH,18,-87.95972,167.0303,43.84074,0,0,0,0,100,0), +(@PATH,19,-89.56836,160.2988,44.03898,0,0,0,0,100,0), +(@PATH,20,-91.14648,167.1875,43.87834,0,0,0,0,100,0), +(@PATH,21,-61.57227,188.7559,44.10155,0,0,0,0,100,0), +(@PATH,22,-62.33063,188.1422,44.08708,0,0,0,0,100,0), +(@PATH,23,-63.91797,186.0742,44.27098,0,0,0,0,100,0), +(@PATH,24,-84.59375,168.9668,44.91484,0,0,0,0,100,0), +(@PATH,25,-85.31445,169.3555,44.87834,0,0,0,0,100,0), +(@PATH,26,-63.00383,188.9471,44.05468,0,0,0,0,100,0), +(@PATH,27,-64.82459,187.3374,44.18473,0,0,0,0,100,0), +(@PATH,28,-111.0449,156.1094,45.87348,0,0,0,0,100,0), +(@PATH,29,-55.37891,177.668,45.96972,0,0,0,0,100,0), +(@PATH,30,-89.67578,155.4414,44.49686,0,0,0,0,100,0), +(@PATH,31,-56.77327,175.161,45.80248,0,0,0,0,100,0), +(@PATH,32,-85.20898,168.7383,44.9423,0,0,0,0,100,0), +(@PATH,33,-91.08838,157.4694,44.37858,0,0,0,0,100,0), +(@PATH,34,-106.4355,157.3906,45.25751,0,0,0,0,100,0), +(@PATH,35,-85.90123,173.3982,44.63298,0,0,0,0,100,0), +(@PATH,36,-105.5859,157.291,45.28144,0,0,0,0,100,0), +(@PATH,37,-89.32813,159.4082,44.14579,0,0,0,0,100,0), +(@PATH,38,-62.74439,187.2529,43.98778,0,0,0,0,100,0), +(@PATH,39,-73.39239,176.6019,44.75334,0,0,0,0,100,0), +(@PATH,40,-72.73695,177.2714,44.78063,0,0,0,0,100,0), +(@PATH,41,-95.95609,145.6062,44.58732,0,0,0,0,100,0), +(@PATH,42,-77.48438,172.0313,44.79704,0,0,0,0,100,0), +(@PATH,43,-55.72461,176.1484,45.92821,0,0,0,0,100,0), +(@PATH,44,-58.14748,175.5351,45.80272,0,0,0,0,100,0), +(@PATH,45,-91.62109,158.5762,44.37064,0,0,0,0,100,0), +(@PATH,46,-61.28906,186.1758,44.84032,0,0,0,0,100,0), +(@PATH,47,-89.69859,148.1772,44.71232,0,0,0,0,100,0), +(@PATH,48,-53.24609,188.4375,46.10277,0,0,0,0,100,0), +(@PATH,49,-93.0355,159.8737,44.31413,0,0,0,0,100,0), +(@PATH,50,-87.9725,167.2695,43.783,0,0,0,0,100,0), +(@PATH,51,-72.55078,176.2363,44.75334,0,0,0,0,100,0), +(@PATH,52,-72.02539,173.9063,44.87834,0,0,0,0,100,0), +(@PATH,53,-89.36308,147.724,44.58732,0,0,0,0,100,0), +(@PATH,54,-61.89771,162.4612,44.3269,0,0,0,0,100,0), +(@PATH,55,-77.89844,172.3496,44.75334,0,0,0,0,100,0), +(@PATH,56,-109.7715,160.2227,45.35212,0,0,0,0,100,0), +(@PATH,57,-91.14648,167.1875,43.87834,0,0,0,0,100,0), +(@PATH,58,-71.83789,173.457,45.00334,0,0,0,0,100,0), +(@PATH,59,-112.12,146.0452,45.11909,0,0,0,0,100,0), +(@PATH,60,-89.25586,148.3926,44.71232,0,0,0,0,100,0), +(@PATH,61,-63.19727,187.1934,44.07921,0,0,0,0,100,0), +(@PATH,62,-94.17188,160.3008,44.27677,0,0,0,0,100,0), +(@PATH,63,-92.27153,157.5948,44.36332,0,0,0,0,100,0), +(@PATH,64,-77.6543,174.7773,44.59257,0,0,0,0,100,0), +(@PATH,65,-89.64844,156.3145,44.51713,0,0,0,0,100,0), +(@PATH,66,-109.8692,156.5482,45.80463,0,0,0,0,100,0), +(@PATH,67,-89.44531,147.334,44.62577,0,0,0,0,100,0), +(@PATH,68,-92.80664,161.127,44.28654,0,0,0,0,100,0), +(@PATH,69,-92.49325,159.5508,44.32171,0,0,0,0,100,0), +(@PATH,70,-85.26367,173.1777,44.62834,0,0,0,0,100,0), +(@PATH,71,-93.45703,156.4609,44.49955,0,0,0,0,100,0), +(@PATH,72,-93.03482,156.9968,44.56034,0,0,0,0,100,0), +(@PATH,73,-72.99826,172.9252,44.99247,0,0,0,0,100,0), +(@PATH,74,-56.71338,179.4481,45.83837,0,0,0,0,100,0), +(@PATH,75,-62.08594,186.623,44.39281,0,0,0,0,100,0), +(@PATH,76,-95.08789,146.3164,44.5828,0,0,0,0,100,0), +(@PATH,77,-109.1172,159.5723,45.35151,0,0,0,0,100,0), +(@PATH,78,-90.46094,159.8789,44.21439,0,0,0,0,100,0), +(@PATH,79,-92.9063,159.7378,44.32676,0,0,0,0,100,0), +(@PATH,80,-61.89154,162.4253,44.33215,0,0,0,0,100,0), +(@PATH,81,-108.4844,158.3145,45.5312,0,0,0,0,100,0), +(@PATH,82,-107.8136,158.3736,45.46105,0,0,0,0,100,0), +(@PATH,83,-72.24023,176.625,44.76445,0,0,0,0,100,0), +(@PATH,84,-95.39258,146.4277,44.71232,0,0,0,0,100,0), +(@PATH,85,-75.30511,175.7263,44.65422,0,0,0,0,100,0), +(@PATH,86,-90.625,167.1875,44.00334,0,0,0,0,100,0), +(@PATH,87,-89.73396,167.1875,43.89635,0,0,0,0,100,0), +(@PATH,88,-107.334,157.9551,45.12202,0,0,0,0,100,0), +(@PATH,89,-85.35102,169.2339,44.87834,0,0,0,0,100,0), +(@PATH,90,-109.9316,155.7129,45.90815,0,0,0,0,100,0), +(@PATH,91,-74.79492,171.7949,44.91264,0,0,0,0,100,0), +(@PATH,92,-72.82227,172.9883,45.00334,0,0,0,0,100,0), +(@PATH,93,-77.66992,172.8828,44.75334,0,0,0,0,100,0), +(@PATH,94,-76.87537,172.7861,44.80579,0,0,0,0,100,0), +(@PATH,95,-90.625,167.1875,44.00334,0,0,0,0,100,0), +(@PATH,96,-52.01431,164.5177,44.67957,0,0,0,0,100,0), +(@PATH,97,-59.45508,176.584,45.60314,0,0,0,0,100,0), +(@PATH,98,-59.05533,175.676,45.65874,0,0,0,0,100,0), +(@PATH,99,-90.625,167.1875,44.00334,0,0,0,0,100,0), +(@PATH,100,-91.58203,160.457,44.14494,0,0,0,0,100,0), +(@PATH,101,-96.55664,147.4297,44.71232,0,0,0,0,100,0), +(@PATH,102,-76.0625,175.207,44.66594,0,0,0,0,100,0), +(@PATH,103,-73.2793,176.7012,44.75334,0,0,0,0,100,0), +(@PATH,104,-94.89956,144.4287,44.68156,0,0,0,0,100,0), +(@PATH,105,-109.3184,155.7793,45.83088,0,0,0,0,100,0), +(@PATH,106,-61.47266,188.5859,44.11351,0,0,0,0,100,0), +(@PATH,107,-73.1875,176.1914,44.75334,0,0,0,0,100,0), +(@PATH,108,-106.3496,161.1641,44.95344,0,0,0,0,100,0), +(@PATH,109,-108.8036,157.8052,45.52607,0,0,0,0,100,0), +(@PATH,110,-107.5316,158.7844,45.31081,0,0,0,0,100,0), +(@PATH,111,-85.99609,168.4512,44.66032,0,0,0,0,100,0), +(@PATH,112,-72.22852,176.2188,44.75334,0,0,0,0,100,0), +(@PATH,113,-74.12749,174.7554,44.87834,0,0,0,0,100,0), +(@PATH,114,-93.57031,159.3125,44.37833,0,0,0,0,100,0), +(@PATH,115,-73.86719,175.0391,44.75334,0,0,0,0,100,0), +(@PATH,116,-74.42986,174.5903,44.87834,0,0,0,0,100,0), +(@PATH,117,-89.13281,147.6914,44.58732,0,0,0,0,100,0), +(@PATH,118,-110.8457,157.373,45.63667,0,0,0,0,100,0), +(@PATH,119,-56.07695,179.4478,45.91478,0,0,0,0,100,0), +(@PATH,120,-91.14648,167.1875,43.87834,0,0,0,0,100,0), +(@PATH,121,-91.05817,166.4357,43.90496,0,0,0,0,100,0), +(@PATH,122,-60.1937,175.9091,45.55272,0,0,0,0,100,0), +(@PATH,123,-107.498,160.207,45.11835,0,0,0,0,100,0), +(@PATH,124,-89.05242,167.218,43.88591,0,0,0,0,100,0), +(@PATH,125,-73.55273,177.9512,44.61442,0,0,0,0,100,0), +(@PATH,126,-85.75195,168.1602,44.77287,0,0,0,0,100,0), +(@PATH,127,-108.2363,157.4336,45.24726,0,0,0,0,100,0), +(@PATH,128,-71.95898,177.8984,44.64555,0,0,0,0,100,0), +(@PATH,129,-109.0273,157.6699,45.56538,0,0,0,0,100,0), +(@PATH,130,-107.871,157.7518,45.40438,0,0,0,0,100,0), +(@PATH,131,-54.8322,186.8846,46.03539,0,0,0,0,100,0); +-- 0x24307C5A0033E3800076BC00002C1078 .go xyz -91.91779 159.7955 44.18009 + +-- Pathing for Ancient Core Hound Entry: 53134 'TDB FORMAT' +SET @NPC := 339376; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-269.2917,`position_y`=140.4757,`position_z`=46.44984 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-269.2917,140.4757,46.44984,0,0,0,0,100,0), +(@PATH,2,-246.9115,164.1111,47.07787,0,0,0,0,100,0), +(@PATH,3,-223.7049,186.5955,47.00397,0,0,0,0,100,0), +(@PATH,4,-216.1528,222.0087,46.08319,0,0,0,0,100,0), +(@PATH,5,-217.0208,242.7691,45.54271,0,0,0,0,100,0), +(@PATH,6,-236.5504,248.4757,45.9376,0,0,0,0,100,0), +(@PATH,7,-244.2951,231.7865,45.54922,0,0,0,0,100,0), +(@PATH,8,-235.4653,220.5469,45.53702,0,0,0,0,100,0), +(@PATH,9,-223.8021,186.4757,47.00397,0,0,0,0,100,0), +(@PATH,10,-247.1927,163.6337,47.13525,0,0,0,0,100,0), +(@PATH,11,-269.9757,139.7153,46.36757,0,0,0,0,100,0), +(@PATH,12,-304.2083,139.0347,45.55281,0,0,0,0,100,0), +(@PATH,13,-317.6302,131.5122,45.08057,0,0,0,0,100,0), +(@PATH,14,-329.9306,113.8056,44.88379,0,0,0,0,100,0), +(@PATH,15,-327.8871,102.8681,44.88379,0,0,0,0,100,0), +(@PATH,16,-321.7413,95.73438,45.54549,0,0,0,0,100,0), +(@PATH,17,-288.5764,117.4219,45.69162,0,0,0,0,100,0); +-- 0x24307C5A0033E3800076BC0000AC1078 .go xyz -269.2917 140.4757 46.44984 + +-- Pathing for Flamewaker Overseer Entry: 53185 'TDB FORMAT' +SET @NPC := 339349; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-209.8958,`position_y`=-208.2344,`position_z`=54.52734 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-209.8958,-208.2344,54.52734,0,0,0,0,100,0), +(@PATH,2,-227.2431,-190.4219,54.41675,0,0,0,0,100,0), +(@PATH,3,-216.3351,-204.8872,54.52734,0,0,0,0,100,0), +(@PATH,4,-199.7691,-225.3941,54.71275,0,0,0,0,100,0), +(@PATH,5,-186.4375,-237.2413,55.80187,0,0,0,0,100,0), +(@PATH,6,-163.8073,-237.0451,55.69587,0,0,0,0,100,0), +(@PATH,7,-145.2951,-224.3073,57.17687,0,0,0,0,100,0), +(@PATH,8,-124.0104,-208.9826,57.22149,0,0,0,0,100,0), +(@PATH,9,-118.1997,-188.2083,57.17687,0,0,0,0,100,0), +(@PATH,10,-112.5087,-162.2396,57.07318,0,0,0,0,100,0), +(@PATH,11,-108.3194,-153.7708,57.19818,0,0,0,0,100,0), +(@PATH,12,-112.7535,-164.559,57.07318,0,0,0,0,100,0), +(@PATH,13,-114.3628,-181.3542,56.963,0,0,0,0,100,0), +(@PATH,14,-116.8368,-200.8733,57.22149,0,0,0,0,100,0), +(@PATH,15,-135.2292,-216.5764,57.17687,0,0,0,0,100,0), +(@PATH,16,-164.934,-233.4132,55.69587,0,0,0,0,100,0), +(@PATH,17,-185.3684,-234.5610,55.69062,0,0,0,0,100,0), +(@PATH,18,-195.8889,-225.3368,54.99766,0,0,0,0,100,0); +-- 0x20307C5A0033F0400076BC00002C1078 .go xyz -209.8958 -208.2344 54.52734 + +-- Pathing for Flamewaker Overseer Entry: 53185 'TDB FORMAT' +SET @NPC := 339283; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-57.1632,`position_y`=6.107639,`position_z`=55.90841 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-57.1632,6.107639,55.90841,0,0,0,0,100,0), +(@PATH,2,-45.24306,-4.977431,55.52036,0,0,0,0,100,0), +(@PATH,3,-55.15278,-36.9132,57.57378,0,0,0,0,100,0), +(@PATH,4,-61.09201,-51.56076,57.57378,0,0,0,0,100,0), +(@PATH,5,-80.10938,-62.06076,55.45671,0,0,0,0,100,0), +(@PATH,6,-72.33507,-84.78819,56.94185,0,0,0,0,100,0), +(@PATH,7,-61.62674,-117.7691,55.53722,0,0,0,0,100,0), +(@PATH,8,-52.25695,-69.04688,57.34653,0,0,0,0,100,0), +(@PATH,9,-38.78125,-43.27257,55.57915,0,0,0,0,100,0), +(@PATH,10,-42.19445,-3.130208,55.34165,0,0,0,0,100,0), +(@PATH,11,-39.13195,11.90104,56.66695,0,0,0,0,100,0), +(@PATH,12,-36.01736,41.56771,55.46609,0,0,0,0,100,0), +(@PATH,13,-25.21701,52.97917,55.59547,0,0,0,0,100,0), +(@PATH,14,-53.92535,57.87847,55.65176,0,0,0,0,100,0), +(@PATH,15,-63.30729,59.44618,56.24307,0,5000,0,0,100,0), +(@PATH,16,-82.19097,62.18056,57.48947,0,0,0,0,100,0), +(@PATH,17,-92.89584,57.77431,58.20504,0,0,0,0,100,0), +(@PATH,18,-99.77084,46.9757,59.66964,0,0,0,0,100,0), +(@PATH,19,-107.5729,29.78472,58.26172,0,0,0,0,100,0), +(@PATH,20,-95.91319,11.32465,57.61016,0,0,0,0,100,0), +(@PATH,21,-85.49132,1.637153,56.41545,0,0,0,0,100,0); +-- 0x20307C5A0033F0400076BC00002C107A .go xyz -57.1632 6.107639 55.90841 + +-- Pathing for Flamewaker Overseer Entry: 53185 'TDB FORMAT' +SET @NPC := 339286; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-55.52083,`position_y`=-33.57292,`position_z`=57.42388 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-55.52083,-33.57292,57.42388,0,0,0,0,100,0), +(@PATH,2,-62.32639,-59.30208,57.53204,0,0,0,0,100,0), +(@PATH,3,-72.03299,-99.0191,56.80977,0,0,0,0,100,0), +(@PATH,4,-89.97049,-132.2014,56.91536,0,0,0,0,100,0), +(@PATH,5,-72.03299,-99.0191,56.80977,0,0,0,0,100,0), +(@PATH,6,-62.32639,-59.30208,57.53204,0,0,0,0,100,0), +(@PATH,7,-55.52083,-33.57292,57.42388,0,0,0,0,100,0), +(@PATH,8,-49.78125,-10.95313,56.74668,0,0,0,0,100,0), +(@PATH,9,-41.9375,29.54514,56.56343,0,0,0,0,100,0), +(@PATH,10,-38.87847,52.18403,56.14004,0,0,0,0,100,0), +(@PATH,11,-26.25694,75.13194,56.72847,0,0,0,0,100,0), +(@PATH,12,-15.3125,91.48438,56.72847,0,0,0,0,100,0), +(@PATH,13,-8.697917,103.0087,56.20154,0,0,0,0,100,0), +(@PATH,14,-15.3125,91.48438,56.72847,0,0,0,0,100,0), +(@PATH,15,-26.25694,75.13194,56.72847,0,0,0,0,100,0), +(@PATH,16,-38.87847,52.18403,56.14004,0,0,0,0,100,0), +(@PATH,17,-41.9375,29.54514,56.56343,0,0,0,0,100,0), +(@PATH,18,-49.70508,-10.73438,56.7789,0,0,0,0,100,0); +-- 0x20307C5A0033F0400076BC0000AC1078 .go xyz -55.52083 -33.57292 57.42388 + +-- Pathing for Flamewaker Taskmaster Entry: 53224 'TDB FORMAT' +SET @NPC := 335532; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-136.5729,`position_y`=-200.3472,`position_z`=53.41344 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-136.5729,-200.3472,53.41344,0,0,0,0,100,0), +(@PATH,2,-128.849,-193.9201,54.16222,0,0,0,0,100,0), +(@PATH,3,-128.4306,-185.4879,53.95714,0,0,0,0,100,0), +(@PATH,4,-135.3542,-179.2865,53.375,0,0,0,0,100,0), +(@PATH,5,-145.5278,-189.7309,53.1792,0,0,0,0,100,0), +(@PATH,6,-154.4931,-200.5278,53.75866,0,0,0,0,100,0), +(@PATH,7,-148.5313,-206.6632,54.04454,0,0,0,0,100,0), +(@PATH,8,-144.0799,-207.6632,53.682,0,0,0,0,100,0), +(@PATH,9,-138.9514,-205.0174,54.24327,0,0,0,0,100,0), +(@PATH,10,-134.8542,-201.4236,54.00719,0,0,0,0,100,0); +-- 0xF130CFE800000115 .go xyz -136.5729 -200.3472 53.41344 + +-- #### MISC CORRECTIONS ##### + +-- Set these spawns to 10 man only +UPDATE `creature` SET `spawnMask`=5 WHERE `guid` IN (338803,338804,338805,339183,339262,339270,338778,339297,300329,339294,339398,338762,339261,339176,339175339192,339193,339535,339509,339188,339191,339529,339282,339281); +UPDATE `creature` SET `spawnMask`=5 WHERE `guid` IN (339510,339536,339511,339531,339514,339187,339528,339515,339516,339517,339518,339519,339520,339346,339527,339526,339521,339524,339522,339523,339534); +-- Fixup creature +UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `id` IN (53127,53128,53141,53167,53732,54274,54275,54276,54277); +UPDATE `creature` SET `position_x`=-15.89931,`position_y`=70.96702,`position_z`=55.45216,`orientation`=5.358161 WHERE `guid`=339271; +UPDATE `creature` SET `position_x`=-261.7413,`position_y`=-407.3073,`position_z`=99.29704,`orientation`=0.6283185 WHERE `guid`=338763; +UPDATE `creature` SET `position_x`=95.15452,`position_y`=-63.20313,`position_z`=54.9362,`orientation`=3.141593 WHERE `guid`=338782; +UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`unit_flags`=570687552,`dynamicflags`=32 WHERE `guid`=339407; +UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `guid` IN (338957,338958,338779,338781,339194); +UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `id`=53631; +UPDATE `creature` SET `unit_flags`=570687552,`dynamicflags`=32 WHERE `guid`=339320; +UPDATE `creature` SET `spawndist`=1,`MovementType`=1 WHERE `guid` IN (338764); +-- Delete bad spawns +DELETE FROM `creature` WHERE `id` IN (53140,53231); +DELETE FROM `creature` WHERE `guid` IN (250021,300329,338940,338941,39066,339067,339068,339171,339172,339173); + +DELETE FROM `creature_addon` WHERE `guid` IN (339314,339315,339316,339318,339319,339322,339405,339406,339314,339315,339316,339318,339319,339322,339377,339195,339196,339197,339320, +339407,317675,317664,317674,317667,339427,339441,339442,339472,@GUID2+83,@GUID2+87,@GUID2+88,@GUID2+89,339178,339179); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(339314,0,0,0,1,438, ''),(339315,0,0,0,1,438, ''),(339316,0,0,0,1,438, ''),(339318,0,0,0,1,438, ''),(339319,0,0,0,1,438, ''),(339322,0,0,0,1,438, ''),(339405,0,0,0,1,438, ''), +(339406,0,0,0,1,438, ''),(339377,0,0,0,1,438, '99620'),(339195,0,0,0,1,0, '84186'),(339196,0,0,0,1,0, '84186'),(339197,0,0,0,1,0, '84186'),(339320,0,0,0,1,0, '70628'),(339407,0,0,0,1,0, '99984 70628'), +(317675,0,0,0,1,37, ''),(317664,0,0,0,1,37, ''),(317674,0,0,0,1,37, ''),(317667,0,0,0,1,37, ''),(339427,0,0,0,1,438, ''),(339441,0,0,0,1,438, ''),(339442,0,0,0,1,438, ''), +(339472,0,0,0,1,438, ''),(@GUID2+83,0,0,0,1,438, ''),(@GUID2+87,0,0,0,1,438, ''),(@GUID2+88,0,0,0,1,438, ''),(@GUID2+89,0,0,0,1,438, ''),(339178,0,0,50331648,1,36, '97562 97572'),(339179,0,0,50331648,1,438, '97562 97572'); + +DELETE FROM `creature_addon` WHERE `guid` IN (259625,259626,259627,259628,338804,338805); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(259625,0,0,0,1,0, '99574 99649'),(259626,0,0,0,1,0, '99574 99649'),(259627,0,0,0,1,0, '99574 99649'), +(259628,0,0,0,1,0, '99574 99649'),(338804,0,0,0,1,0, '99574 99649'),(338805,0,0,0,1,0, '99574 99649'); + +DELETE FROM `creature_addon` WHERE `guid` IN (339378); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`aiAnimKit`,`emote`,`auras`) VALUES (339378,0,0,0,1,1370,0, '100150'); + +UPDATE `creature_addon` SET `mount`=0 WHERE `guid` IN (338945,338946); +-- UPDATE `creature_addon` SET `MovementFlags`=512 WHERE `guid` IN (389253,389254); +DELETE FROM `creature_addon` WHERE `guid` IN (250021,300329,338940,338941,39066,339067,339068,339171,339172,339173); + +UPDATE `creature_template` SET `mechanic_immune_mask`= 617299839, `flags_extra`= `flags_extra` | 1073741824 WHERE `entry` IN (53187); +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (35592,54348,54367,53433,53129); +UPDATE `creature_template` SET `InhabitType`=5 WHERE `entry` IN (54401,54402,52498); +UPDATE `creature_template` SET `gossip_menu_id`=12953 WHERE `entry`=54299; +UPDATE `creature_template` SET `npcflag`=1, `unit_flags2`=71335936 WHERE `entry` IN (54299); +UPDATE `creature_template` SET `speed_walk`=0.777776,`speed_run`=1.71429,`lootid`=53115 WHERE `entry`=54149; +UPDATE `creature_template` SET `speed_walk`=1.55556,`speed_run`=2.28571,`lootid`=53141 WHERE `entry`=54160; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=2,`lootid`=53128 WHERE `entry`=54154; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53134 WHERE `entry`=54152; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=2,`lootid`=53127 WHERE `entry`=54153; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=2,`lootid`=53094 WHERE `entry`=54150; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1,`lootid`=53095 WHERE `entry`=54538; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1,`lootid`=53096 WHERE `entry`=54151; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=2,`lootid`=53206 WHERE `entry`=54992; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=2,`lootid`=54991 WHERE `entry`=54991; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=2,`lootid`=54991 WHERE `entry`=55031; +UPDATE `creature_template` SET `speed_walk`=1.55556,`speed_run`=2,`lootid`=53167 WHERE `entry`=54966; +UPDATE `creature_template` SET `speed_walk`=1.55556,`speed_run`=2,`lootid`=53732 WHERE `entry`=54967; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53119 WHERE `entry`=54963; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53120 WHERE `entry`=54964; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53121 WHERE `entry`=54965; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53639 WHERE `entry`=53777; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53223 WHERE `entry`=54535; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53222 WHERE `entry`=54536; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=54073 WHERE `entry`=54164; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53185 WHERE `entry`=54166; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53244 WHERE `entry`=54537; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53224 WHERE `entry`=54165; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53188 WHERE `entry`=54526; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`lootid`=53187 WHERE `entry`=54525; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.14286,`lootid`=53901 WHERE `entry`=54527; +UPDATE `creature_template` SET `speed_walk`=1,`speed_run`=1.71429,`BaseAttackTime`=1500,`lootid`=53616 WHERE `entry`=54461; +UPDATE `creature_template` SET `speed_walk`=4,`speed_run`=1.42857,`BaseAttackTime`=1500 WHERE `entry` IN (53816,53817,53818); +UPDATE `creature_template` SET `unit_flags`=33554432,`unit_flags2`=34816,`faction`=14 WHERE `entry` IN (52528,53395); +UPDATE `creature_template` SET `speed_walk`=1.6,`speed_run`=1.14286,`lootid`=53619 WHERE `entry`=53619; +UPDATE `creature_template` SET `difficulty_entry_1`=53632 WHERE `entry`=53631; +UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction`=16,`speed_walk`=2.8,`speed_run`=1,`BaseAttackTime`=1500,`unit_flags2`=33556480,`lootid`=53631 WHERE `entry`=53632; +UPDATE `creature_template` SET `difficulty_entry_1`=53636,`HoverHeight`=1 WHERE `entry`=53635; +UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction`=14,`speed_walk`=2.8,`speed_run`=1.71429,`BaseAttackTime`=1500,`unit_class`=2,`unit_flags2`=33556480,`lootid`=53635,`VehicleId`=1652 WHERE `entry`=53636; +UPDATE `creature_template` SET `difficulty_entry_1`=53582,`difficulty_entry_2`=53583,`difficulty_entry_3`=53584 WHERE `entry`=52581; +UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction`=14 WHERE `entry` IN (53582,53583,53584); +UPDATE `creature_template` SET `difficulty_entry_1`=53778 WHERE `entry`=53640; +UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction`=16,`speed_run`=1.71429,`unit_flags`=64,`lootid`=53640 WHERE `entry`=53778; +UPDATE `creature_template` SET `difficulty_entry_1`=53643 WHERE `entry`=53642; +UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction`=14,`speed_walk`=2.8,`speed_run`=1.42857,`BaseAttackTime`=1500,`lootid`=53642 WHERE `entry`=53643; +UPDATE `creature_template` SET `VehicleId`=1692 WHERE `entry`=54056; +UPDATE `creature_template` SET `speed_walk`=0.777776,`speed_run`=1.71429,`lootid`=54143 WHERE `entry`=54196; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=54019; +UPDATE `creature_template` SET `unit_class`=4 WHERE `entry`=54015; +UPDATE `creature_template` SET `HoverHeight`=25 WHERE `entry` IN (52498, 53576, 53577, 53578); +UPDATE `creature_template` SET `flags_extra`= `flags_extra` | 128 WHERE `entry`=53433; +UPDATE `creature_template` SET `HoverHeight`=10 WHERE `entry` IN (53648); +UPDATE `creature_template_addon` SET `auras`='' WHERE `entry`=42098; +UPDATE `creature_template_addon` SET `mount`=0 WHERE `entry` IN (54401,54402); +UPDATE `creature_template_addon` SET `bytes1`=50331648 WHERE `entry` IN (52498); +UPDATE `creature_template_addon` SET `auras`='97562 97572' WHERE `entry` IN (53129); +DELETE FROM `creature_template_addon` WHERE `entry`=53102; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`aiAnimKit`,`auras`) VALUES (53102,0,50331648,1,0,1370, ''); +DELETE FROM `creature_template_addon` WHERE `entry`=53901; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`aiAnimKit`,`auras`) VALUES (53901,0,0,1,0,0, '100410 100566'); +DELETE FROM `creature_template_addon` WHERE `entry`=53188; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`aiAnimKit`,`auras`) VALUES (53188,0,0,1,0,0, '100525'); +UPDATE `gameobject_template` SET `displayId`=10630 WHERE `entry`=209251; +UPDATE `gameobject_template_addon` SET `flags`=544 WHERE `entry`=209251; + +-- #### GOSSIP FIXUP #### + +DELETE FROM `gossip_menu` WHERE (`MenuId`=12953 AND `TextId`=18225); +INSERT INTO `gossip_menu` (`MenuId`, `TextId`, `VerifiedBuild`) VALUES +(12953, 18225, 26822); -- 54299 +DELETE FROM `gossip_menu_option` WHERE `MenuID`=12953 AND `OptionID`=0; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(12953, 0, 0, '', 52851, 1, 1, 26822); +DELETE FROM `npc_text` WHERE `ID`=18225; +INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`BroadcastTextID0`,`VerifiedBuild`) VALUES +(18225,'Magma swirls and eddies lazily inside the orb, but the translucent surface is solid and cool to the touch.','Magma swirls and eddies lazily inside the orb, but the translucent surface is solid and cool to the touch.',52850,26822); + +-- #### SPELL FIXUPS #### + +UPDATE `npc_spellclick_spells` SET `spell_id`=101316,`cast_flags`=3 WHERE `npc_entry`=54348; +UPDATE `npc_spellclick_spells` SET `spell_id`=101403,`cast_flags`=3 WHERE `npc_entry`=54367; +DELETE FROM `spell_scripts` WHERE `id`=99726; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(99726,0,0,15,99724,2,0,0,0,0,0); +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=99724; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(99724,80468,1, 'Jump-to triggers Instakill'); +DELETE FROM `spell_target_position` WHERE `ID` IN (101316,101403); +INSERT INTO `spell_target_position` (`ID`,`EffectIndex`,`MapID`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`VerifiedBuild`) VALUES +(101316,0,720,362.789,-94.5147,78.2355,1.551641,0), +(101403,0,720,-363.543,206.101,51.7945,3.123232,0); + +-- #### SAI #### + +-- Flamewaker Subjugator SAI *** +SET @ENTRY := 53188; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,4,0,100,31,0,0,0,0,45,0,1,0,0,0,0,11,53187,75,0,0,0,0,0,"Flamewaker Subjugator - AGGRO - SET DATA"), +(@ENTRY,0,1,0,2,0,100,31,0,25,0,0,11,100527,0,0,0,0,0,1,0,0,0,0,0,0,0,"Flamewaker Subjugator - HP 25% - Cast: 'Furious'"); + +-- Flamewaker Animator SAI *** +SET @ENTRY := 53187; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,1,25,0,100,30,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Flamewaker Animator - RESET - Set react state passive"), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,28,100742,0,0,0,0,0,1,0,0,0,0,0,0,0,"Flamewaker Animator - RESET - Set react state passive"), +(@ENTRY,0,2,0,60,0,100,30,1000,1000,5000,5000,11,99045,0,0,0,0,0,19,53901,30,0,0,0,0,0,"Flamewaker Animator - UPDATE EVENT - Cast: 'Animate Magma'"), +(@ENTRY,0,3,0,38,0,100,31,0,1,5000,5000,11,100742,0,0,0,0,0,1,0,0,0,0,0,0,0,"Flamewaker Animator - DATA SET - Cast: 'Defensive Casting'"); + +-- Cinderweb Spinner SAI *** +SET @ENTRY := 53642; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,3000,5000,3000,5000,11,99647,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Spinner - Combat - Cast: Burning Acid'"); +-- Cinderweb Spinner "GUID" SAI *** +SET @ENTRY := -339425; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,3000,5000,3000,5000,11,99647,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Spinner - Combat - Cast: Burning Acid'"), +(@ENTRY,0,1,0,1,0,100,31,1000,1000,1000,1000,11,99615,0,0,0,0,0,19,53115,0,0,0,0,0,0,"Cinderweb Spinner - OOC - Cast: Fiery Web Spin'"); +-- Cinderweb Spinner "GUID" SAI *** +SET @ENTRY := -339433; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,3000,5000,3000,5000,11,99647,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Spinner - Combat - Cast: Burning Acid'"), +(@ENTRY,0,1,0,1,0,100,31,1000,1000,1000,1000,11,99616,0,0,0,0,0,19,53115,0,0,0,0,0,0,"Cinderweb Spinner - OOC - Cast: Fiery Web Spin'"); +-- Cinderweb Spinner "GUID" SAI *** +SET @ENTRY := -339455; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,3000,5000,3000,5000,11,99647,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Spinner - Combat - Cast: Burning Acid'"), +(@ENTRY,0,1,0,1,0,100,31,1000,1000,1000,1000,11,99615,0,0,0,0,0,19,53648,0,0,0,0,0,0,"Cinderweb Spinner - OOC - Cast: Fiery Web Spin'"); +-- Cinderweb Spinner "GUID" SAI *** +SET @ENTRY := -339459; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,3000,5000,3000,5000,11,99647,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Spinner - Combat - Cast: Burning Acid'"), +(@ENTRY,0,1,0,1,0,100,31,1000,1000,1000,1000,11,99617,0,0,0,0,0,19,53648,0,0,0,0,0,0,"Cinderweb Spinner - OOC - Cast: Fiery Web Spin'"); + +-- Molten Lord SAI *** +SET @ENTRY := 53115; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,1000,1000,4000,8000,11,99532,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molten Lord - Combat - Cast: Melt Armor"), +(@ENTRY,0,1,0,0,0,100,30,12000,20000,12000,20000,11,99555,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molten Lord - Combat - Cast: Lava Jets"), +(@ENTRY,0,2,0,0,0,100,30,20000,25000,20000,25000,11,99530,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molten Lord - Combat - Cast: Flame Stomp"), +(@ENTRY,0,3,0,60,0,100,30,5000,5000,5000,5000,11,101617,0,0,0,0,0,1,0,0,0,0,0,0,0,"Molten Lord - Update - Cast: Legendary Quest Aura"); +-- Molten Lord "GUID" SAI *** +SET @ENTRY := -339377; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,1000,1000,4000,8000,11,99532,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molten Lord - Combat - Cast: 'Melt Armor'"), +(@ENTRY,0,1,0,0,0,100,30,12000,20000,12000,20000,11,99555,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molten Lord - Combat - Cast: 'Lava Jets'"), +(@ENTRY,0,2,0,0,0,100,30,20000,25000,20000,25000,11,99530,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molten Lord - Combat - Cast: 'Flame Stomp'"), +(@ENTRY,0,3,0,1,0,100,31,1000,1000,1000,1000,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Molten Lord - OOC - Set Root"), +(@ENTRY,0,4,0,4,0,100,30,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Molten Lord - AGGRO - Remove Root"); + +-- Flamewaker Cauterizer SAI +SET @ENTRY := 53639; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,1,0,100,30,10000,10000,25000,25000,11,100060,0,0,0,0,0,1,0,0,0,0,0,0,0,"Flamewaker Cauterizer - OOC - Cast: 'Flame Shield'"); + +-- Cinderweb Drone SAI +SET @ENTRY := 53635; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,10000,10000,25000,25000,11,99463,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Drone - COMBAT - Cast: 'Boiling Spatter'"), -- Needs timing fix +(@ENTRY,0,1,0,0,0,100,30,10000,10000,25000,25000,11,99974,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Drone - COMBAT - Cast: 'Burning Acid'"), -- Needs timing fix +(@ENTRY,0,2,0,0,0,100,30,10000,10000,25000,25000,11,100634,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cinderweb Drone - COMBAT - Cast: 'Consume'"); -- Needs timing fix + -- Cinderweb Drone GUID SAI +SET @ENTRY := -259630; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,30,10000,10000,25000,25000,11,99463,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Drone - COMBAT - Cast: 'Boiling Spatter'"), -- Needs timing fix +(@ENTRY,0,1,0,0,0,100,30,10000,10000,25000,25000,11,99974,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cinderweb Drone - COMBAT - Cast: 'Burning Acid'"), -- Needs timing fix +(@ENTRY,0,2,0,0,0,100,30,10000,10000,25000,25000,11,100634,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cinderweb Drone - COMBAT - Cast: 'Consume'"), -- Needs timing fix +(@ENTRY,0,3,0,1,0,100,31,1000,1000,1000,1000,11,46598,0,0,0,0,0,19,53648,0,0,0,0,0,0,"Cinderweb Drone - OOC - Enter Vehicle"); + +-- #### BRIDGE AFTER BALEROC 'FIRELANDS RAID' #### + +-- #### GOSSIP FIXUP #### + +DELETE FROM `gossip_menu` WHERE (`MenuId`=12953 AND `TextId`=18225); +INSERT INTO `gossip_menu` (`MenuId`, `TextId`, `VerifiedBuild`) VALUES +(12953, 18225, 26822); -- 54299 +DELETE FROM `gossip_menu_option` WHERE `MenuID`=12953 AND `OptionID`=0; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(12953, 0, 0, '', 52851, 1, 1, 26822); +DELETE FROM `npc_text` WHERE `ID`=18225; +INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`BroadcastTextID0`,`VerifiedBuild`) VALUES +(18225,'Magma swirls and eddies lazily inside the orb, but the translucent surface is solid and cool to the touch.','Magma swirls and eddies lazily inside the orb, but the translucent surface is solid and cool to the touch.',52850,26822); + +-- Magma Orb SAI +SET @ENTRY := 54299; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,1,62,0,100,30,12953,0,0,0,45,0,1,0,0,0,0,10,317632,42098,0,0,0,0,0,"Magma Orb - GOSSIP SELECT - Set Data"), +(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,14,200173,209251,0,0,0,0,0,"Magma Orb - GOSSIP SELECT - Set Data"), +(@ENTRY,0,2,3,61,0,100,0,0,0,0,0,135,197,0,0,0,0,0,18,50,0,0,0,0,0,0,"Magma Orb - GOSSIP SELECT - Trigger Cinematic"), +(@ENTRY,0,3,4,61,0,100,0,0,0,0,0,18,34111488,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magma Orb - GOSSIP SELECT - Set Unit Flags"), +(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Magma Orb - GOSSIP SELECT - Close Gossip"); + +-- Invisible Stalker (Cataclysm Boss, Ignore Combat, Floating) SAI Entry: 42098 +SET @ENTRY := -317632; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=42098; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,38,0,100,30,0,1,30000,30000,11,101034,0,0,0,0,0,1,0,0,0,0,0,0,0,"Invisible Stalker - DATA SET - Cast: 'Trigger Bridge Cinematic'"); +-- +DELETE FROM `spell_scripts` WHERE `id`=101034; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`) VALUES +(101034,0,6,16,25339,0), +(101034,0,6,15,101035,1), +(101034,0,12,16,25338,0); + +-- Firelands Sulfuron Bridge SAI Entry: 209251 +SET @ENTRY := 209251; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY*10 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 +(@ENTRY,1,0,0,38,0,100,30,0,1,30000,30000,80,@ENTRY*10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Firelands Sulfuron Bridge - DATA SET - Run Script"), +(@ENTRY*10,9,0,0,0,0,100,0,22000,22000,22000,22000,104,1049632,0,0,0,0,0,1,0,0,0,0,0,0,0,"Firelands Sulfuron Bridge - Script - Set Bridge Flags"), +(@ENTRY*10,9,1,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,14,200174,209277,0,0,0,0,0,"Firelands Sulfuron Bridge - Script - Despawn Invisible wall object"); + +-- #### Firelands Boss loot fixup #### + +-- Set Reference loots +SET @NORMAL_BETHTILAC := 34390; +SET @HEROIC_BETHTILAC := 34391; +SET @NORMAL_RHYOLITH := 34392; +SET @HEROIC_RHYOLITH := 34393; +SET @HEROIC_LEGGINGS := 34394; +SET @NORMAL_SHANNOX := 34395; +SET @HEROIC_SHANNOX := 34396; +SET @HEROIC_CHEST := 34397; +SET @NORMAL_ALYSRAZOR := 34398; +SET @HEROIC_ALYSRAZOR := 34399; +SET @HEROIC_GAUNTLETS := 34400; +SET @NORMAL_BALEROC := 34401; +SET @HEROIC_BALEROC := 34402; +SET @NORMAL_MANTLE := 34403; +SET @HEROIC_SHOULDERS := 34404; +SET @NORMAL_STAGHELM := 34405; +SET @HEROIC_STAGHELM := 34406; +SET @NORMAL_HELM := 34407; +SET @HEROIC_CROWN := 34408; +SET @NORMAL_RAGNAROS := 34409; +SET @HEROIC_RAGNAROS := 34410; + +-- 10 Mam gold for bosses +UPDATE `creature_template` SET `mingold`=2200000, `maxgold`=2800000 WHERE `entry` IN (53691,54079,52558,52560,52498,53577,52530,54045,53494,53588,52571,53857,52409,53798); +-- 25 Mam gold for bosses +UPDATE `creature_template` SET `mingold`=30000000, `maxgold`=34000000 WHERE `entry` IN (53979,54080,52559,52561,53576,53578,54044,54046,53587,53589,53856,53858,53797,53799); + +-- #### Beth'tilac #### + +-- Template fixups +UPDATE `creature_template` SET `difficulty_entry_1`=53576,`difficulty_entry_2`=53577,`difficulty_entry_3`=53578 WHERE `entry`=52498; +UPDATE `creature_template` SET `minlevel`=88,`maxlevel`=88,`exp`=3,`faction`=14,`speed_walk`=3.2,`speed_run`=2,`unit_class`=2,`unit_flags2`=2097152,`VehicleId`=1652,`HoverHeight`=1,`flags_extra`=1 WHERE `entry` IN (52498,53576,53577,53578); + +-- Beth'tilac "10 man Normal" +SET @ENTRY := 52498; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_BETHTILAC,100,0,1,1,3,3, 'Random Loot (Beth''tilac Normal)'); + +-- Beth'tilac "25 man Normal" +SET @ENTRY := 53576; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_BETHTILAC,100,0,1,1,6,6, 'Random Loot (Beth''tilac Normal)'); + +-- Beth'tilac "10 man Heroic" +SET @ENTRY := 53577; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_BETHTILAC,100,0,1,1,3,3, 'Random Loot (Beth''tilac Heroic)'); + +-- Beth'tilac "25 man Heroic" +SET @ENTRY := 53578; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_BETHTILAC,100,0,1,1,6,7, 'Random Loot (Beth''tilac Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_BETHTILAC; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,68981,0,0,0,1,1,1,1, 'Spidersilk Spindle (Beth''tilac Normal)'), +(@ENTRY,70914,0,0,0,1,1,1,1, 'Carapace of Imbibed Flame (Beth''tilac Normal)'), +(@ENTRY,70922,0,0,0,1,1,1,1, 'Mandible of Beth''tilac (Beth''tilac Normal)'), +(@ENTRY,71029,0,0,0,1,1,1,1, 'Arachnaflame Treads (Beth''tilac Normal)'), +(@ENTRY,71030,0,0,0,1,1,1,1, 'Flickering Shoulders (Beth''tilac Normal)'), +(@ENTRY,71031,0,0,0,1,1,1,1, 'Cinderweb Leggings (Beth''tilac Normal)'), +(@ENTRY,71032,0,0,0,1,1,1,1, 'Widow''s Kiss (Beth''tilac Normal)'), +(@ENTRY,71038,0,0,0,1,1,1,1, 'Ward of the Red Widow (Beth''tilac Normal)'), +(@ENTRY,71039,0,0,0,1,1,1,1, 'Funeral Pyre (Beth''tilac Normal)'), +(@ENTRY,71040,0,0,0,1,1,1,1, 'Cowl of the Clicking Menace (Beth''tilac Normal)'), +(@ENTRY,71041,0,0,0,1,1,1,1, 'Robes of Smoldering Devastation (Beth''tilac Normal)'), +(@ENTRY,71042,0,0,0,1,1,1,1, 'Thoracic Flame Kilt (Beth''tilac Normal)'), +(@ENTRY,71043,0,0,0,1,1,1,1, 'Spaulders of Manifold Eyes (Beth''tilac Normal)'), +(@ENTRY,71044,0,0,0,1,1,1,1, 'Cindersilk Gloves (Beth''tilac Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Beth''tilac Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Beth''tilac Normal)'), +(@ENTRY,71779,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Beth''tilac Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Beth''tilac Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Beth''tilac Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Beth''tilac Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Beth''tilac Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_BETHTILAC; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69138,0,0,0,1,1,1,1, 'Spidersilk Spindle (Beth''tilac Heroic)'), +(@ENTRY,71405,0,0,0,1,1,1,1, 'Carapace of Imbibed Flame (Beth''tilac Heroic)'), +(@ENTRY,71406,0,0,0,1,1,1,1, 'Mandible of Beth''tilac (Beth''tilac Heroic)'), +(@ENTRY,71404,0,0,0,1,1,1,1, 'Arachnaflame Treads (Beth''tilac Heroic)'), +(@ENTRY,71403,0,0,0,1,1,1,1, 'Flickering Shoulders (Beth''tilac Heroic)'), +(@ENTRY,71402,0,0,0,1,1,1,1, 'Cinderweb Leggings (Beth''tilac Heroic)'), +(@ENTRY,71401,0,0,0,1,1,1,1, 'Widow''s Kiss (Beth''tilac Heroic)'), +(@ENTRY,71408,0,0,0,1,1,1,1, 'Ward of the Red Widow (Beth''tilac Heroic)'), +(@ENTRY,71409,0,0,0,1,1,1,1, 'Funeral Pyre (Beth''tilac Heroic)'), +(@ENTRY,71411,0,0,0,1,1,1,1, 'Cowl of the Clicking Menace (Beth''tilac Heroic)'), +(@ENTRY,71407,0,0,0,1,1,1,1, 'Robes of Smoldering Devastation (Beth''tilac Heroic)'), +(@ENTRY,71412,0,0,0,1,1,1,1, 'Thoracic Flame Kilt (Beth''tilac Heroic)'), +(@ENTRY,71413,0,0,0,1,1,1,1, 'Spaulders of Manifold Eyes (Beth''tilac Heroic)'), +(@ENTRY,71410,0,0,0,1,1,1,1, 'Cindersilk Gloves (Beth''tilac Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Beth''tilac Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Beth''tilac Heroic)'), +(@ENTRY,71778,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Beth''tilac Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Beth''tilac Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Beth''tilac Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Beth''tilac Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Beth''tilac Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Beth''tilac Heroic)'); + +-- #### Lord Rhyolith #### + +UPDATE `creature_template` SET `faction`=16,`speed_walk`=0.8,`speed_run`=0.285714, `BaseAttackTime`=2000, `RangeAttackTime`=1500, `unit_flags`=64, `unit_flags2`=0, `flags_extra`=1 WHERE `entry` IN (52558,52559,52560,52561); + +-- Lord Rhyolith "10 man Normal" +SET @ENTRY := 52558; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_RHYOLITH,100,0,1,1,3,3, 'Random Loot (Lord Rhyolith Normal)'); + +-- Lord Rhyolith "25 man Normal" +SET @ENTRY := 52559; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_RHYOLITH,100,0,1,1,6,6, 'Random Loot (Lord Rhyolith Normal)'); + +-- Lord Rhyolith "10 man Heroic" +SET @ENTRY := 52560; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_RHYOLITH,100,0,1,1,3,3, 'Random Loot (Lord Rhyolith Heroic)'); + +-- Lord Rhyolith "25 man Heroic" +SET @ENTRY := 52561; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_RHYOLITH,100,0,1,1,6,6, 'Random Loot (Lord Rhyolith Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_RHYOLITH; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,70912,0,0,0,1,1,1,1, 'Cracked Obsidian Stompers (Lord Rhyolith Normal)'), +(@ENTRY,70991,0,0,0,1,1,1,1, 'Arbalest of Erupting Fury (Lord Rhyolith Normal)'), +(@ENTRY,70992,0,0,0,1,1,1,1, 'Dreadfire Drape (Lord Rhyolith Normal)'), +(@ENTRY,70993,0,0,0,1,1,1,1, 'Fireskin Gauntlets (Lord Rhyolith Normal)'), +(@ENTRY,71003,0,0,0,1,1,1,1, 'Hood of Rampant Disdain (Lord Rhyolith Normal)'), +(@ENTRY,71004,0,0,0,1,1,1,1, 'Earthcrack Bracers (Lord Rhyolith Normal)'), +(@ENTRY,71005,0,0,0,1,1,1,1, 'Flaming Core Chestguard (Lord Rhyolith Normal)'), +(@ENTRY,71006,0,0,0,1,1,1,1, 'Volcanospike (Lord Rhyolith Normal)'), +(@ENTRY,71007,0,0,0,1,1,1,1, 'Grips of the Raging Giant (Lord Rhyolith Normal)'), +(@ENTRY,71009,0,0,0,1,1,1,1, 'Lava Line Wristbands (Lord Rhyolith Normal)'), +(@ENTRY,71010,0,0,0,1,1,1,1, 'Incendic Chestguard (Lord Rhyolith Normal)'), +(@ENTRY,71011,0,0,0,1,1,1,1, 'Flickering Cowl (Lord Rhyolith Normal)'), +(@ENTRY,71012,0,0,0,1,1,1,1, 'Heartstone of Rhyolith (Lord Rhyolith Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Lord Rhyolith Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Lord Rhyolith Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Lord Rhyolith Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Lord Rhyolith Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Lord Rhyolith Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Lord Rhyolith Normal)'); + +SET @ENTRY := @HEROIC_RHYOLITH; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71420,0,0,0,1,1,1,1, 'Cracked Obsidian Stompers (Lord Rhyolith Heroic)'), +(@ENTRY,71414,0,0,0,1,1,1,1, 'Arbalest of Erupting Fury (Lord Rhyolith Heroic)'), +(@ENTRY,71415,0,0,0,1,1,1,1, 'Dreadfire Drape (Lord Rhyolith Heroic)'), +(@ENTRY,71419,0,0,0,1,1,1,1, 'Fireskin Gauntlets (Lord Rhyolith Heroic)'), +(@ENTRY,71416,0,0,0,1,1,1,1, 'Hood of Rampant Disdain (Lord Rhyolith Heroic)'), +(@ENTRY,71418,0,0,0,1,1,1,1, 'Earthcrack Bracers (Lord Rhyolith Heroic)'), +(@ENTRY,71417,0,0,0,1,1,1,1, 'Flaming Core Chestguard (Lord Rhyolith Heroic)'), +(@ENTRY,71422,0,0,0,1,1,1,1, 'Volcanospike (Lord Rhyolith Heroic)'), +(@ENTRY,71426,0,0,0,1,1,1,1, 'Grips of the Raging Giant (Lord Rhyolith Heroic)'), +(@ENTRY,71425,0,0,0,1,1,1,1, 'Lava Line Wristbands (Lord Rhyolith Heroic)'), +(@ENTRY,71424,0,0,0,1,1,1,1, 'Incendic Chestguard (Lord Rhyolith Heroic)'), +(@ENTRY,71421,0,0,0,1,1,1,1, 'Flickering Cowl (Lord Rhyolith Heroic)'), +(@ENTRY,71423,0,0,0,1,1,1,1, 'Heartstone of Rhyolith (Lord Rhyolith Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Lord Rhyolith Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Lord Rhyolith Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Lord Rhyolith Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Lord Rhyolith Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Lord Rhyolith Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Lord Rhyolith Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Lord Rhyolith Heroic)'); + +-- #### Shannox #### + +UPDATE `creature_template` SET `speed_walk`=3.2,`speed_run`=1.71429, `BaseAttackTime`=1500,`RangeAttackTime`=1500,`flags_extra`=1 WHERE `entry` IN (53691,53979,54079,54080); + +-- Shannox "10 man Normal" +SET @ENTRY := 53691; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_SHANNOX,100,0,1,1,2,2, 'Random Loot (Shannox Normal)'), +(@ENTRY,71716,0,15,0,1,1,1,1, 'Soothsayer''s Runes'); + +-- Shannox "25 man Normal" +SET @ENTRY := 53979; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_SHANNOX,100,0,1,1,8,8, 'Random Loot (Shannox Normal)'), +(@ENTRY,71716,0,25,0,1,2,1,1, 'Soothsayer''s Runes'); + +-- Shannox "10 man Heroic" +SET @ENTRY := 54079; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_LEGGINGS,100,0,1,1,1,1, 'Leggings of the Fiery Loot (Shannox Heroic)'), +(@ENTRY,2,@HEROIC_SHANNOX,100,0,1,1,3,3, 'Random Loot (Shannox Heroic)'), +(@ENTRY,71716,0,15,0,1,2,1,1, 'Soothsayer''s Runes'); + +-- Shannox "25 man Heroic" +SET @ENTRY := 54080; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_LEGGINGS,100,0,1,1,1,1, 'Leggings of the Fiery Loot (Shannox Heroic)'), +(@ENTRY,2,@HEROIC_SHANNOX,100,0,1,1,8,8, 'Random Loot (Shannox Heroic)'), +(@ENTRY,71716,0,25,0,1,2,1,1, 'Soothsayer''s Runes'); + +-- Heroic Leggings +SET @ENTRY := @HEROIC_LEGGINGS; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71671,0,0,0,1,1,1,1, 'Leggings of the Fiery Vanquisher (Shannox Heroic)'), +(@ENTRY,71685,0,0,0,1,1,1,1, 'Leggings of the Fiery Protector (Shannox Heroic)'), +(@ENTRY,71678,0,0,0,1,1,1,1, 'Leggings of the Fiery Conqueror (Shannox Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_SHANNOX; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,70913,0,0,0,1,1,1,1, 'Legplates of Frenzied Devotion (Shannox Normal)'), +(@ENTRY,71013,0,0,0,1,1,1,1, 'Feeding Frenzy (Shannox Normal)'), +(@ENTRY,71014,0,0,0,1,1,1,1, 'Skullstealer Greataxe (Shannox Normal)'), +(@ENTRY,71018,0,0,0,1,1,1,1, 'Scalp of the Bandit Prince (Shannox Normal)'), +(@ENTRY,71019,0,0,0,1,1,1,1, 'Necklace of Fetishes (Shannox Normal)'), +(@ENTRY,71020,0,0,0,1,1,1,1, 'Gloves of Dissolving Smoke (Shannox Normal)'), +(@ENTRY,71021,0,0,0,1,1,1,1, 'Uncrushable Belt of Fury (Shannox Normal)'), +(@ENTRY,71022,0,0,0,1,1,1,1, 'Goblet of Anger (Shannox Normal)'), +(@ENTRY,71023,0,0,0,1,1,1,1, 'Coalwalker Sandals (Shannox Normal)'), +(@ENTRY,71024,0,0,0,1,1,1,1, 'Crystal Prison Band (Shannox Normal)'), +(@ENTRY,71025,0,0,0,1,1,1,1, 'Flickering Shoulderpads (Shannox Normal)'), +(@ENTRY,71026,0,0,0,1,1,1,1, 'Bracers of the Dread Hunter (Shannox Normal)'), +(@ENTRY,71027,0,0,0,1,1,1,1, 'Treads of Implicit Obedience (Shannox Normal)'), +(@ENTRY,71028,0,0,0,1,1,1,1, 'Legplates of Absolute Control (Shannox Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Shannox Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Shannox Normal)'), +(@ENTRY,71779,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Shannox Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Shannox Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Shannox Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Shannox Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Shannox Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_SHANNOX; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71444,0,0,0,1,1,1,1, 'Legplates of Frenzied Devotion (Shannox Heroic)'), +(@ENTRY,71441,0,0,0,1,1,1,1, 'Feeding Frenzy (Shannox Heroic)'), +(@ENTRY,71445,0,0,0,1,1,1,1, 'Skullstealer Greataxe (Shannox Heroic)'), +(@ENTRY,71442,0,0,0,1,1,1,1, 'Scalp of the Bandit Prince (Shannox Heroic)'), +(@ENTRY,71446,0,0,0,1,1,1,1, 'Necklace of Fetishes (Shannox Heroic)'), +(@ENTRY,71440,0,0,0,1,1,1,1, 'Gloves of Dissolving Smoke (Shannox Heroic)'), +(@ENTRY,71443,0,0,0,1,1,1,1, 'Uncrushable Belt of Fury (Shannox Heroic)'), +(@ENTRY,71448,0,0,0,1,1,1,1, 'Goblet of Anger (Shannox Heroic)'), +(@ENTRY,71447,0,0,0,1,1,1,1, 'Coalwalker Sandals (Shannox Heroic)'), +(@ENTRY,71449,0,0,0,1,1,1,1, 'Crystal Prison Band (Shannox Heroic)'), +(@ENTRY,71450,0,0,0,1,1,1,1, 'Flickering Shoulderpads (Shannox Heroic)'), +(@ENTRY,71452,0,0,0,1,1,1,1, 'Bracers of the Dread Hunter (Shannox Heroic)'), +(@ENTRY,71451,0,0,0,1,1,1,1, 'Treads of Implicit Obedience (Shannox Heroic)'), +(@ENTRY,71453,0,0,0,1,1,1,1, 'Legplates of Absolute Control (Shannox Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Shannox Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Shannox Heroic)'), +(@ENTRY,71778,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Shannox Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Shannox Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Shannox Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Shannox Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Shannox Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Shannox Heroic)'); + +-- #### Alysrazor #### + +UPDATE `creature_template` SET `flags_extra`=1 WHERE `entry` IN (52530,54044,54045,54046); + +-- Alysrazor "10 man Normal" +SET @ENTRY := 52530; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,71665,0,2,0,1,1,1,1, 'Flametalon of Alysrazor'), +(@ENTRY,1,@NORMAL_ALYSRAZOR,100,0,1,1,2,2, 'Random Loot (Alysrazor Normal)'); + +-- Alysrazor "25 man Normal" +SET @ENTRY := 54044; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,71665,0,2,0,1,1,1,1, 'Flametalon of Alysrazor'), +(@ENTRY,1,@NORMAL_ALYSRAZOR,100,0,1,1,8,8, 'Random Loot (Alysrazor Normal)'); + +-- Alysrazor "10 man Heroic" +SET @ENTRY := 54045; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,71665,0,2,0,1,1,1,1, 'Flametalon of Alysrazor'), +(@ENTRY,1,@HEROIC_CHEST,100,0,1,1,1,1, 'Chest of the Fiery Loot (Alysrazor Heroic)'), +(@ENTRY,2,@HEROIC_ALYSRAZOR,100,0,1,1,3,3, 'Random Loot (Alysrazor Heroic)'); + +-- Alysrazor "25 man Heroic" +SET @ENTRY := 54046; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,71665,0,2,0,1,1,1,1, 'Flametalon of Alysrazor'), +(@ENTRY,1,@HEROIC_CHEST,100,0,1,1,1,1, 'Chest of the Fiery Loot (Alysrazor Heroic)'), +(@ENTRY,2,@HEROIC_ALYSRAZOR,100,0,1,1,8,8, 'Random Loot (Alysrazor Heroic)'); + +-- Heroic Chest +SET @ENTRY := @HEROIC_CHEST; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71668,0,0,0,1,1,1,1, 'Chest of the Fiery Vanquisher (Alysrazor Heroic)'), +(@ENTRY,71686,0,0,0,1,1,1,1, 'Chest of the Fiery Protector (Alysrazor Heroic)'), +(@ENTRY,71679,0,0,0,1,1,1,1, 'Chest of the Fiery Conqueror (Alysrazor Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_ALYSRAZOR; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,70990,0,0,0,1,1,1,1, 'Wings of Flame (Alysrazor Normal)'), +(@ENTRY,68983,0,0,0,1,1,1,1, 'Eye of Blazing Power (Alysrazor Normal)'), +(@ENTRY,70989,0,0,0,1,1,1,1, 'Leggings of Billowing Fire (Alysrazor Normal)'), +(@ENTRY,70733,0,0,0,1,1,1,1, 'Alysra''s Razor (Alysrazor Normal)'), +(@ENTRY,70735,0,0,0,1,1,1,1, 'Flickering Wristbands (Alysrazor Normal)'), +(@ENTRY,70738,0,0,0,1,1,1,1, 'Alysrazor''s Band (Alysrazor Normal)'), +(@ENTRY,70734,0,0,0,1,1,1,1, 'Greathelm of the Voracious Maw (Alysrazor Normal)'), +(@ENTRY,70739,0,0,0,1,1,1,1, 'Lavaworm Legplates (Alysrazor Normal)'), +(@ENTRY,70736,0,0,0,1,1,1,1, 'Moltenfeather Leggings (Alysrazor Normal)'), +(@ENTRY,70986,0,0,0,1,1,1,1, 'Clawshaper Gauntlets (Alysrazor Normal)'), +(@ENTRY,70988,0,0,0,1,1,1,1, 'Clutch of the Firemother (Alysrazor Normal)'), +(@ENTRY,70987,0,0,0,1,1,1,1, 'Phoenix-Down Treads (Alysrazor Normal)'), +(@ENTRY,70985,0,0,0,1,1,1,1, 'Craterflame Spaulders (Alysrazor Normal)'), +(@ENTRY,70737,0,0,0,1,1,1,1, 'Spaulders of Recurring Flame (Alysrazor Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Alysrazor Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Alysrazor Normal)'), +(@ENTRY,71779,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Alysrazor Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Alysrazor Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Alysrazor Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Alysrazor Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Alysrazor Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_ALYSRAZOR; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71434,0,0,0,1,1,1,1, 'Wings of Flame (Alysrazor Heroic)'), +(@ENTRY,69149,0,0,0,1,1,1,1, 'Eye of Blazing Power (Alysrazor Heroic)'), +(@ENTRY,71435,0,0,0,1,1,1,1, 'Leggings of Billowing Fire (Alysrazor Heroic)'), +(@ENTRY,71427,0,0,0,1,1,1,1, 'Alysra''s Razor (Alysrazor Heroic)'), +(@ENTRY,71428,0,0,0,1,1,1,1, 'Flickering Wristbands (Alysrazor Heroic)'), +(@ENTRY,71433,0,0,0,1,1,1,1, 'Alysrazor''s Band (Alysrazor Heroic)'), +(@ENTRY,71430,0,0,0,1,1,1,1, 'Greathelm of the Voracious Maw (Alysrazor Heroic)'), +(@ENTRY,71431,0,0,0,1,1,1,1, 'Lavaworm Legplates (Alysrazor Heroic)'), +(@ENTRY,71429,0,0,0,1,1,1,1, 'Moltenfeather Leggings (Alysrazor Heroic)'), +(@ENTRY,71437,0,0,0,1,1,1,1, 'Clawshaper Gauntlets (Alysrazor Heroic)'), +(@ENTRY,71439,0,0,0,1,1,1,1, 'Clutch of the Firemother (Alysrazor Heroic)'), +(@ENTRY,71436,0,0,0,1,1,1,1, 'Phoenix-Down Treads (Alysrazor Heroic)'), +(@ENTRY,71438,0,0,0,1,1,1,1, 'Craterflame Spaulders (Alysrazor Heroic)'), +(@ENTRY,71432,0,0,0,1,1,1,1, 'Spaulders of Recurring Flame (Alysrazor Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Alysrazor Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Alysrazor Heroic)'), +(@ENTRY,71778,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Alysrazor Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Alysrazor Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Alysrazor Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Alysrazor Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Alysrazor Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Alysrazor Heroic)'); + +-- #### Baleroc #### + +UPDATE `creature_template` SET `difficulty_entry_1`=53587,`difficulty_entry_2`=53588,`difficulty_entry_3`=53589 WHERE `entry`=53494; +UPDATE `creature_template` SET `minlevel`=88,`maxlevel`=88,`exp`=3,`faction`=14,`speed_walk`=3.2,`speed_run`=2,`unit_flags2`=32768,`flags_extra`=1 WHERE `entry` IN (53494,53587,53588,53589); + +-- Baleroc "10 man Normal" +SET @ENTRY := 53494; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_BALEROC,100,0,1,1,2,2, 'Random Loot (Baleroc Normal)'); + +-- Baleroc "25 man Normal" +SET @ENTRY := 53587; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_BALEROC,100,0,1,1,8,8, 'Random Loot (Baleroc Normal)'); + +-- Baleroc "10 man Heroic" +SET @ENTRY := 53588; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_GAUNTLETS,100,0,1,1,1,1, 'Gauntlets of the Fiery Loot (Baleroc Heroic)'), +(@ENTRY,2,@HEROIC_BALEROC,100,0,1,1,3,3, 'Random Loot (Baleroc Heroic)'); + +-- Baleroc "25 man Heroic" +SET @ENTRY := 53589; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_GAUNTLETS,100,0,1,1,1,1, 'Gauntlets of the Fiery Loot (Baleroc Heroic)'), +(@ENTRY,2,@HEROIC_BALEROC,100,0,1,1,8,8, 'Random Loot (Baleroc Heroic)'); + +-- Heroic Gauntlets +SET @ENTRY := @HEROIC_GAUNTLETS; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71669,0,0,0,1,1,1,1, 'Gauntlets of the Fiery Vanquisher (Alysrazor Heroic)'), +(@ENTRY,71683,0,0,0,1,1,1,1, 'Gauntlets of the Fiery Protector (Alysrazor Heroic)'), +(@ENTRY,71676,0,0,0,1,1,1,1, 'Gauntlets of the Fiery Conqueror (Alysrazor Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_BALEROC; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,68982,0,0,0,1,1,1,1, 'Necromantic Focus (Baleroc Normal)'), +(@ENTRY,70915,0,0,0,1,1,1,1, 'Shard of Torment (Baleroc Normal)'), +(@ENTRY,70916,0,0,0,1,1,1,1, 'Helm of Blazing Glory (Baleroc Normal)'), +(@ENTRY,70917,0,0,0,1,1,1,1, 'Flickering Handguards (Baleroc Normal)'), +(@ENTRY,71312,0,0,0,1,1,1,1, 'Gatecrasher (Baleroc Normal)'), +(@ENTRY,71314,0,0,0,1,1,1,1, 'Breastplate of the Incendiary Soul (Baleroc Normal)'), +(@ENTRY,71315,0,0,0,1,1,1,1, 'Decimation Treads (Baleroc Normal)'), +(@ENTRY,71323,0,0,0,1,1,1,1, 'Molten Scream (Baleroc Normal)'), +(@ENTRY,71340,0,0,0,1,1,1,1, 'Gatekeeper''s Embrace (Baleroc Normal)'), +(@ENTRY,71341,0,0,0,1,1,1,1, 'Glowing Wing Bracers (Baleroc Normal)'), +(@ENTRY,71342,0,0,0,1,1,1,1, 'Casque of Flame (Baleroc Normal)'), +(@ENTRY,71343,0,0,0,1,1,1,1, 'Mantle of Closed Doors (Baleroc Normal)'), +(@ENTRY,71345,0,0,0,1,1,1,1, 'Shoulderpads of the Forgotten Gate (Baleroc Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Baleroc Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Baleroc Normal)'), +(@ENTRY,71779,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Baleroc Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Baleroc Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Baleroc Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Baleroc Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Baleroc Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_BALEROC; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69139,0,0,0,1,1,1,1, 'Necromantic Focus (Baleroc Heroic)'), +(@ENTRY,71460,0,0,0,1,1,1,1, 'Shard of Torment (Baleroc Heroic)'), +(@ENTRY,71459,0,0,0,1,1,1,1, 'Helm of Blazing Glory (Baleroc Heroic)'), +(@ENTRY,71458,0,0,0,1,1,1,1, 'Flickering Handguards (Baleroc Heroic)'), +(@ENTRY,71454,0,0,0,1,1,1,1, 'Gatecrasher (Baleroc Heroic)'), +(@ENTRY,71455,0,0,0,1,1,1,1, 'Breastplate of the Incendiary Soul (Baleroc Heroic)'), +(@ENTRY,71457,0,0,0,1,1,1,1, 'Decimation Treads (Baleroc Heroic)'), +(@ENTRY,71462,0,0,0,1,1,1,1, 'Molten Scream (Baleroc Heroic)'), +(@ENTRY,71464,0,0,0,1,1,1,1, 'Gatekeeper''s Embrace (Baleroc Heroic)'), +(@ENTRY,71463,0,0,0,1,1,1,1, 'Glowing Wing Bracers (Baleroc Heroic)'), +(@ENTRY,71465,0,0,0,1,1,1,1, 'Casque of Flame (Baleroc Heroic)'), +(@ENTRY,71461,0,0,0,1,1,1,1, 'Mantle of Closed Doors (Baleroc Heroic)'), +(@ENTRY,71456,0,0,0,1,1,1,1, 'Shoulderpads of the Forgotten Gate (Baleroc Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Baleroc Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Baleroc Heroic)'), +(@ENTRY,71778,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Baleroc Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Baleroc Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Baleroc Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Baleroc Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Baleroc Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Baleroc Heroic)'); + +-- #### Staghelm #### + +UPDATE `creature_template` SET `speed_walk`=2,`speed_run`=1.71429,`BaseAttackTime`=1250,`RangeAttackTime`=1250,`flags_extra`=1 WHERE `entry` IN (52571,53856,53857,53858); + +-- Staghelm "10 man Normal" +SET @ENTRY := 52571; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_MANTLE,100,0,1,1,1,1, 'Mantle of the Fiery Loot (Staghelm Heroic)'), +(@ENTRY,2,@NORMAL_STAGHELM,100,0,1,1,2,2, 'Random Loot (Staghelm Normal)'); + +-- Staghelm "25 man Normal" +SET @ENTRY := 53856; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@NORMAL_MANTLE,100,0,1,1,1,1, 'Mantle of the Fiery Loot (Staghelm Heroic)'), +(@ENTRY,2,@NORMAL_STAGHELM,100,0,1,1,8,8, 'Random Loot (Staghelm Normal)'); + +-- Staghelm "10 man Heroic" +SET @ENTRY := 53857; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_SHOULDERS,100,0,1,1,1,1, 'Shoulders of the Fiery Loot (Staghelm Heroic)'), +(@ENTRY,2,@HEROIC_STAGHELM,100,0,1,1,3,3, 'Random Loot (Staghelm Heroic)'); + +-- Staghelm "25 man Heroic" +SET @ENTRY := 53858; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,2, 'Living Ember'), +(@ENTRY,1,@HEROIC_SHOULDERS,100,0,1,1,2,2, 'Shoulders of the Fiery Loot (Staghelm Heroic)'), +(@ENTRY,2,@HEROIC_STAGHELM,100,0,1,1,8,8, 'Random Loot (Staghelm Heroic)'); + +-- Normal Mantle +SET @ENTRY := @NORMAL_MANTLE; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71674,0,0,0,1,1,1,1, 'Mantle of the Fiery Vanquisher (Staghelm Normal)'), +(@ENTRY,71688,0,0,0,1,1,1,1, 'Mantle of the Fiery Protector (Staghelm Normal)'), +(@ENTRY,71681,0,0,0,1,1,1,1, 'Mantle of the Fiery Conqueror (Staghelm Normal)'); + +-- Heroic Shoulders +SET @ENTRY := @HEROIC_SHOULDERS; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71673,0,0,0,1,1,1,1, 'Shoulders of the Fiery Vanquisher (Staghelm Heroic)'), +(@ENTRY,71687,0,0,0,1,1,1,1, 'Shoulders of the Fiery Protector (Staghelm Heroic)'), +(@ENTRY,71680,0,0,0,1,1,1,1, 'Shoulders of the Fiery Conqueror (Staghelm Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_STAGHELM; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71348,0,0,0,1,1,1,1, 'Flowform Choker (Staghelm Normal)'), +(@ENTRY,68927,0,0,0,1,1,1,1, 'The Hungerer (Staghelm Normal)'), +(@ENTRY,71350,0,0,0,1,1,1,1, 'Wristwraps of Arrogant Doom (Staghelm Normal)'), +(@ENTRY,68926,0,0,0,1,1,1,1, 'Jaws of Defeat (Staghelm Normal)'), +(@ENTRY,69897,0,0,0,1,1,1,1, 'Fandral''s Flamescythe (Staghelm Normal)'), +(@ENTRY,71346,0,0,0,1,1,1,1, 'Grips of Unerring Precision (Staghelm Normal)'), +(@ENTRY,71344,0,0,0,1,1,1,1, 'Breastplate of Shifting Visions (Staghelm Normal)'), +(@ENTRY,71313,0,0,0,1,1,1,1, 'Sandals of Leaping Coals (Staghelm Normal)'), +(@ENTRY,71347,0,0,0,1,1,1,1, 'Stinger of the Flaming Scorpion (Staghelm Normal)'), +(@ENTRY,71349,0,0,0,1,1,1,1, 'Firecat Leggings (Staghelm Normal)'), +(@ENTRY,71351,0,0,0,1,1,1,1, 'Treads of the Penitent Man (Staghelm Normal)'), +(@ENTRY,70920,0,0,0,1,1,1,1, 'Bracers of the Fiery Path (Staghelm Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Staghelm Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Staghelm Normal)'), +(@ENTRY,71779,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Staghelm Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Staghelm Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Staghelm Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Staghelm Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Staghelm Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_STAGHELM; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71472,0,0,0,1,1,1,1, 'Flowform Choker (Staghelm Heroic)'), +(@ENTRY,69112,0,0,0,1,1,1,1, 'The Hungerer (Staghelm Heroic)'), +(@ENTRY,71471,0,0,0,1,1,1,1, 'Wristwraps of Arrogant Doom (Staghelm Heroic)'), +(@ENTRY,69111,0,0,0,1,1,1,1, 'Jaws of Defeat (Staghelm Heroic)'), +(@ENTRY,71466,0,0,0,1,1,1,1, 'Fandral''s Flamescythe (Staghelm Heroic)'), +(@ENTRY,71468,0,0,0,1,1,1,1, 'Grips of Unerring Precision (Staghelm Heroic)'), +(@ENTRY,71469,0,0,0,1,1,1,1, 'Breastplate of Shifting Visions (Staghelm Heroic)'), +(@ENTRY,71467,0,0,0,1,1,1,1, 'Sandals of Leaping Coals (Staghelm Heroic)'), +(@ENTRY,71473,0,0,0,1,1,1,1, 'Stinger of the Flaming Scorpion (Staghelm Heroic)'), +(@ENTRY,71474,0,0,0,1,1,1,1, 'Firecat Leggings (Staghelm Heroic)'), +(@ENTRY,71475,0,0,0,1,1,1,1, 'Treads of the Penitent Man (Staghelm Heroic)'), +(@ENTRY,71470,0,0,0,1,1,1,1, 'Bracers of the Fiery Path (Staghelm Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Staghelm Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Staghelm Heroic)'), +(@ENTRY,71778,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Staghelm Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Staghelm Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Staghelm Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Staghelm Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Staghelm Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Staghelm Heroic)'); + +-- #### Ragnaros #### + +-- Template fixups +UPDATE `creature_template` SET `minlevel`=88,`maxlevel`=88,`exp`=3,`faction`=2234,`speed_run`=1.42857, `BaseAttackTime`=1500, `unit_flags2`=1207961600, `flags_extra`=1 WHERE `entry` IN (52409,53797,53798,53799); +UPDATE `creature_template` SET `difficulty_entry_1`=53797,`difficulty_entry_2`=53798,`difficulty_entry_3`=53799,`lootid`=0 WHERE `entry`=52409; +DELETE FROM `creature_loot_template` WHERE `Entry`=52409; + +-- Add missing Cache of the Fire Lord +DELETE FROM `gameobject_template` WHERE `entry`=209261; +INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES +(209261, 3, 10684, "Cache of the Fire Lord", "", "", "", 3.5, 1634, 40107, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", 15211); + +-- Cache of the Fire Lord "Ragnaros 10 man Normal" Entry: 208967 +SET @ENTRY := 40061; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,18,23, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,3, 'Living Ember'), +(@ENTRY,69224,0,1.5,0,1,1,1,1, 'Smoldering Egg of Millagazor'), +(@ENTRY,1,@NORMAL_HELM,100,0,1,1,1,1, 'Helm of the Fiery Loot (Ragnaros Normal)'), +(@ENTRY,2,@NORMAL_RAGNAROS,100,0,1,1,2,2, 'Random Loot (Ragnaros Normal)'); + +-- Cache of the Fire Lord "Ragnaros 25 man Normal" Entry: 209261 +SET @ENTRY := 40107; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,48,55, 'Seething Cinder (Quest Item)'), +(@ENTRY,71141,0,100,1,1,1,1,3, 'Eternal Ember (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,3, 'Living Ember'), +(@ENTRY,69224,0,1.5,0,1,1,1,1, 'Smoldering Egg of Millagazor'), +(@ENTRY,1,@NORMAL_HELM,100,0,1,1,2,2, 'Helm of the Fiery Loot (Ragnaros Normal)'), +(@ENTRY,2,@NORMAL_RAGNAROS,100,0,1,1,3,3, 'Random Loot (Ragnaros Normal)'); + +-- Ragnaros "10 man Heroic" +SET @ENTRY := 53798; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,23,26, 'Seething Cinder (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,3, 'Living Ember'), +(@ENTRY,69224,0,1.5,0,1,1,1,1, 'Smoldering Egg of Millagazor'), +(@ENTRY,1,@HEROIC_CROWN,100,0,1,1,1,1, 'Crown of the Fiery Loot (Ragnaros Heroic)'), +(@ENTRY,2,@HEROIC_RAGNAROS,100,0,1,1,2,2, 'Random Loot (Ragnaros Heroic)'); + +-- Ragnaros "25 man Heroic" +SET @ENTRY := 53799; +UPDATE `creature_template` SET `lootid`=@ENTRY WHERE `entry`=@ENTRY; +DELETE FROM `creature_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69815,0,100,1,1,1,55,66, 'Seething Cinder (Quest Item)'), +(@ENTRY,69237,0,50,0,1,1,1,3, 'Living Ember'), +(@ENTRY,69224,0,1.5,0,1,1,1,1, 'Smoldering Egg of Millagazor'), +(@ENTRY,1,@HEROIC_CROWN,100,0,1,1,2,2, 'Crown of the Fiery Loot (Ragnaros Heroic)'), +(@ENTRY,2,@HEROIC_RAGNAROS,100,0,1,1,7,7, 'Random Loot (Ragnaros Heroic)'); + +-- Normal Helm +SET @ENTRY := @NORMAL_HELM; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71668,0,0,0,1,1,1,1, 'Helm of the Fiery Vanquisher (Ragnaros Normal)'), +(@ENTRY,71682,0,0,0,1,1,1,1, 'Helm of the Fiery Protector (Ragnaros Normal)'), +(@ENTRY,71675,0,0,0,1,1,1,1, 'Helm of the Fiery Conqueror (Ragnaros Normal)'); + +-- Heroic Crown +SET @ENTRY := @HEROIC_CROWN; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,71670,0,0,0,1,1,1,1, 'Crown of the Fiery Vanquisher (Ragnaros Heroic)'), +(@ENTRY,71684,0,0,0,1,1,1,1, 'Crown of the Fiery Protector (Ragnaros Heroic)'), +(@ENTRY,71677,0,0,0,1,1,1,1, 'Crown of the Fiery Conqueror (Ragnaros Heroic)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_RAGNAROS; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,68925,0,0,0,1,1,1,1, 'Variable Pulse Lightning Capacitor (Ragnaros Normal)'), +(@ENTRY,68994,0,0,0,1,1,1,1, 'Matrix Restabilizer (Ragnaros Normal)'), +(@ENTRY,68995,0,0,0,1,1,1,1, 'Vessel of Acceleration (Ragnaros Normal)'), +(@ENTRY,70921,0,0,0,1,1,1,1, 'Pauldrons of Roaring Flame (Ragnaros Normal)'), +(@ENTRY,71352,0,0,0,1,1,1,1, 'Sulfuras, the Extinguished Hand (Ragnaros Normal)'), +(@ENTRY,71353,0,0,0,1,1,1,1, 'Arathar, the Eye of Flame (Ragnaros Normal)'), +(@ENTRY,71354,0,0,0,1,1,1,1, 'Choker of the Vanquished Lord (Ragnaros Normal)'), +(@ENTRY,71355,0,0,0,1,1,1,1, 'Ko''gun, Hammer of the Firelord (Ragnaros Normal)'), +(@ENTRY,71356,0,0,0,1,1,1,1, 'Crown of Flame (Ragnaros Normal)'), +(@ENTRY,71357,0,0,0,1,1,1,1, 'Majordomo''s Chain of Office (Ragnaros Normal)'), +(@ENTRY,71358,0,0,0,1,1,1,1, 'Fingers of Incineration (Ragnaros Normal)'), +(@ENTRY,71775,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Ragnaros Normal)'), +(@ENTRY,71776,0,0,0,1,1,1,1, 'Eye of Purification (Ragnaros Normal)'), +(@ENTRY,71779,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Ragnaros Normal)'), +(@ENTRY,71780,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Ragnaros Normal)'), +(@ENTRY,71782,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Ragnaros Normal)'), +(@ENTRY,71785,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Ragnaros Normal)'), +(@ENTRY,71787,0,0,0,1,1,1,1, 'Entrail Disgorger (Ragnaros Normal)'), +(@ENTRY,71798,0,0,0,1,1,1,1, 'Sho''ravon, Greatstaff of Annihilation (Ragnaros Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_RAGNAROS; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69110,0,0,0,1,1,1,1, 'Variable Pulse Lightning Capacitor (Ragnaros Heroic)'), +(@ENTRY,69150,0,0,0,1,1,1,1, 'Matrix Restabilizer (Ragnaros Heroic)'), +(@ENTRY,69167,0,0,0,1,1,1,1, 'Vessel of Acceleration (Ragnaros Heroic)'), +(@ENTRY,71612,0,0,0,1,1,1,1, 'Pauldrons of Roaring Flame (Ragnaros Heroic)'), +(@ENTRY,70723,0,0,0,1,1,1,1, 'Sulfuras, the Extinguished Hand (Ragnaros Heroic)'), +(@ENTRY,71611,0,0,0,1,1,1,1, 'Arathar, the Eye of Flame (Ragnaros Heroic)'), +(@ENTRY,71610,0,0,0,1,1,1,1, 'Choker of the Vanquished Lord (Ragnaros Heroic)'), +(@ENTRY,71615,0,0,0,1,1,1,1, 'Ko''gun, Hammer of the Firelord (Ragnaros Heroic)'), +(@ENTRY,71616,0,0,0,1,1,1,1, 'Crown of Flame (Ragnaros Heroic)'), +(@ENTRY,71613,0,0,0,1,1,1,1, 'Majordomo''s Chain of Office (Ragnaros Heroic)'), +(@ENTRY,71614,0,0,0,1,1,1,1, 'Fingers of Incineration (Ragnaros Heroic)'), +(@ENTRY,71774,0,0,0,1,1,1,1, 'Smoldering Censer of Purity (Ragnaros Heroic)'), +(@ENTRY,71777,0,0,0,1,1,1,1, 'Eye of Purification (Ragnaros Heroic)'), +(@ENTRY,71778,0,0,0,1,1,1,1, 'Avool''s Incendiary Shanker (Ragnaros Heroic)'), +(@ENTRY,71781,0,0,0,1,1,1,1, 'Zoid''s Firelit Greatsword (Ragnaros Heroic)'), +(@ENTRY,71783,0,0,0,1,1,1,1, 'Shatterskull Bonecrusher (Ragnaros Heroic)'), +(@ENTRY,71784,0,0,0,1,1,1,1, 'Firethorn Mindslicer (Ragnaros Heroic)'), +(@ENTRY,71786,0,0,0,1,1,1,1, 'Entrail Disgorger (Ragnaros Heroic)'), +(@ENTRY,71797,0,0,0,1,1,1,1, 'Sho''ravon, Greatstaff of Annihilation (Ragnaros Heroic)'), +(@ENTRY,71617,0,0,0,1,1,1,1, 'Crystallized Firestone (Ragnaros Heroic)'); + + +-- Condition for source Creature loot template condition type Item +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=53691 AND `SourceEntry`=71716 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 53691, 71716, 0, 0, 2, 0, 71634, 1, 0, 0, 0, 0, '', 'Soothsayer''s Runes will drop from creature loot template entry 53691 if player has 1 of Darkmoon Adventurer''s Guide. Item cannot be in bank.'); + +-- Condition for source Creature loot template condition type Item +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=53979 AND `SourceEntry`=71716 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 53979, 71716, 0, 0, 2, 0, 71634, 1, 0, 0, 0, 0, '', 'Soothsayer''s Runes will drop from creature loot template entry 53979 if player has 1 of Darkmoon Adventurer''s Guide. Item cannot be in bank.'); + +-- Condition for source Creature loot template condition type Item +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=54079 AND `SourceEntry`=71716 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 54079, 71716, 0, 0, 2, 0, 71634, 1, 0, 0, 0, 0, '', 'Soothsayer''s Runes will drop from creature loot template entry 54079 if player has 1 of Darkmoon Adventurer''s Guide. Item cannot be in bank.'); + +-- Condition for source Creature loot template condition type Item +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=54080 AND `SourceEntry`=71716 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 54080, 71716, 0, 0, 2, 0, 71634, 1, 0, 0, 0, 0, '', 'Soothsayer''s Runes will drop from creature loot template entry 54080 if player has 1 of Darkmoon Adventurer''s Guide. Item cannot be in bank.'); + +-- Set Reference loots +SET @HEROIC_BROODMOTHER := 34411; +SET @NORMAL_ALAKIR := 34412; +SET @HEROIC_ALAKIR := 34413; + +-- Set Gold +UPDATE `gameobject_template_addon` SET `faction`=0, `flags`=0, `mingold`=220000, `maxgold`=280000 WHERE `entry` IN (208044); +UPDATE `gameobject_template_addon` SET `faction`=0, `flags`=0, `mingold`=30000000, `maxgold`=34000000 WHERE `entry` IN (208045); + +-- Cache of the Broodmother "Sinestra 10 man Heroic" Entry: 208044 +SET @ENTRY := 35999; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,1,@HEROIC_BROODMOTHER,100,0,1,1,2,2, 'Random Loot (Cache of the Broodmother Heroic 10 Man)'); + +-- Cache of the Broodmother "Sinestra 25 man Heroic" Entry: 208045 +SET @ENTRY := 36000; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,1,@HEROIC_BROODMOTHER,100,0,1,1,6,6, 'Random Loot (Cache of the Broodmother Heroic 25 Man)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_BROODMOTHER; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,60226,0,0,0,1,1,1,1, 'Dargonax''s Signet (Cache of the Broodmother Heroic)'), +(@ENTRY,60227,0,0,0,1,1,1,1, 'Caelestrasz''s Will (Cache of the Broodmother Heroic)'), +(@ENTRY,60228,0,0,0,1,1,1,1, 'Bracers of the Mat''redor (Cache of the Broodmother Heroic)'), +(@ENTRY,60229,0,0,0,1,1,1,1, 'War-Torn Crushers (Cache of the Broodmother Heroic)'), +(@ENTRY,60230,0,0,0,1,1,1,1, 'Twilight Scale Leggings (Cache of the Broodmother Heroic)'), +(@ENTRY,60231,0,0,0,1,1,1,1, 'Belt of the Fallen Brood (Cache of the Broodmother Heroic)'), +(@ENTRY,60232,0,0,0,1,1,1,1, 'Shroud of Endless Grief (Cache of the Broodmother Heroic)'), +(@ENTRY,60233,0,0,0,1,1,1,1, 'Shard of Woe (Cache of the Broodmother Heroic)'), +(@ENTRY,60234,0,0,0,1,1,1,1, 'Bindings of Bleak Betrayal (Cache of the Broodmother Heroic)'), +(@ENTRY,60235,0,0,0,1,1,1,1, 'Boots of Az''galada (Cache of the Broodmother Heroic)'), +(@ENTRY,60236,0,0,0,1,1,1,1, 'Nightmare Rider''s Boots (Cache of the Broodmother Heroic)'), +(@ENTRY,60237,0,0,0,1,1,1,1, 'Crown of the Twilight Queen (Cache of the Broodmother Heroic)'), +(@ENTRY,60238,0,0,0,1,1,1,1, 'Bracers of the Dark Mother (Cache of the Broodmother Heroic)'); + +-- Set Gold +UPDATE `gameobject_template_addon` SET `faction`=94, `flags`=0, `mingold`=220000, `maxgold`=280000 WHERE `entry` IN (207891,207893); +UPDATE `gameobject_template_addon` SET `faction`=94, `flags`=0, `mingold`=1200000, `maxgold`=1360000 WHERE `entry` IN (207892,207894); + +-- Heart of Wind "Al'Akir 10 man Normal" Entry: 207891 +SET @ENTRY := 35876; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,63041,0,0.5,0,1,1,1,1, 'Reins of the Drake of the South Wind'), +(@ENTRY,1,@NORMAL_ALAKIR,100,0,1,1,2,2, 'Random Loot (Al''Akir Normal 10 Man)'); + +-- Heart of Wind "Al'Akir 25 man Normal" Entry: 207892 +SET @ENTRY := 36330; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,63041,0,0.5,0,1,1,1,1, 'Reins of the Drake of the South Wind'), +(@ENTRY,1,@NORMAL_ALAKIR,100,0,1,1,9,9, 'Random Loot (Al''Akir Normal 25 Man)'); + +-- Heart of Wind "Al'Akir 10 man Heroic" Entry: 207893 +SET @ENTRY := 35880; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,63041,0,0.7,0,1,1,1,1, 'Reins of the Drake of the South Wind'), +(@ENTRY,1,@HEROIC_ALAKIR,100,0,1,1,2,2, 'Random Loot (Al''Akir Heroic 10 Man)'); + +-- Heart of Wind "Al'Akir 25 man Heroic" Entry: 207894 +SET @ENTRY := 36328; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,63041,0,0.7,0,1,1,1,1, 'Reins of the Drake of the South Wind'), +(@ENTRY,1,@HEROIC_ALAKIR,100,0,1,1,9,9, 'Random Loot (Al''Akir Heroic 25 Man)'); + +-- Normal Loot +SET @ENTRY := @NORMAL_ALAKIR; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,63499,0,0,0,1,1,1,1, 'Cloudburst Ring (Heart of Wind Normal)'), +(@ENTRY,63500,0,0,0,1,1,1,1, 'Sky Strider Greaves (Heart of Wind Normal)'), +(@ENTRY,63501,0,0,0,1,1,1,1, 'Thunder Wall Greaves (Heart of Wind Normal)'), +(@ENTRY,63502,0,0,0,1,1,1,1, 'Star Chaser Legguards (Heart of Wind Normal)'), +(@ENTRY,63503,0,0,0,1,1,1,1, 'Wind Stalker Leggings (Heart of Wind Normal)'), +(@ENTRY,63504,0,0,0,1,1,1,1, 'Tempest Keeper Leggings (Heart of Wind Normal)'), +(@ENTRY,63505,0,0,0,1,1,1,1, 'Lightning Well Legguards (Heart of Wind Normal)'), +(@ENTRY,63506,0,0,0,1,1,1,1, 'Gale Rouser Leggings (Heart of Wind Normal)'), +(@ENTRY,63507,0,0,0,1,1,1,1, 'Soul Breath Leggings (Heart of Wind Normal)'), +(@ENTRY,68127,0,0,0,1,1,1,1, 'Stormwake, the Tempest''s Reach (Heart of Wind Normal)'), +(@ENTRY,68128,0,0,0,1,1,1,1, 'Stormwake, the Tempest''s Reach (Heart of Wind Normal)'), +(@ENTRY,68129,0,0,0,1,1,1,1, 'Stormwake, the Tempest''s Reach (Heart of Wind Normal)'), +(@ENTRY,69827,0,0,0,1,1,1,1, 'Mistral Pendant (Heart of Wind Normal)'), +(@ENTRY,69828,0,0,0,1,1,1,1, 'Permafrost Choker (Heart of Wind Normal)'), +(@ENTRY,69829,0,0,0,1,1,1,1, 'Cloudburst Necklace (Heart of Wind Normal)'), +(@ENTRY,69830,0,0,0,1,1,1,1, 'Planetary Amulet (Heart of Wind Normal)'), +(@ENTRY,69831,0,0,0,1,1,1,1, 'Mistral Drape (Heart of Wind Normal)'), +(@ENTRY,69834,0,0,0,1,1,1,1, 'Cloudburst Cloak (Heart of Wind Normal)'), +(@ENTRY,69833,0,0,0,1,1,1,1, 'Permafrost Cape (Heart of Wind Normal)'), +(@ENTRY,69835,0,0,0,1,1,1,1, 'Planetary Drape (Heart of Wind Normal)'), +(@ENTRY,63682,0,0,0,1,1,1,1, 'Helm of the Forlorn Vanquisher (Al''Akir Normal)'), +(@ENTRY,63683,0,0,0,1,1,1,1, 'Helm of the Forlorn Conqueror (Al''Akir Normal)'), +(@ENTRY,63684,0,0,0,1,1,1,1, 'Helm of the Forlorn Protector (Al''Akir Normal)'), +(@ENTRY,64314,0,0,0,1,1,1,1, 'Mantle of the Forlorn Vanquisher (Al''Akir Normal)'), +(@ENTRY,64315,0,0,0,1,1,1,1, 'Mantle of the Forlorn Conqueror (Al''Akir Normal)'), +(@ENTRY,64316,0,0,0,1,1,1,1, 'Mantle of the Forlorn Protector (Al''Akir Normal)'); + +-- Heroic Loot +SET @ENTRY := @HEROIC_ALAKIR; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,65382,0,0,0,1,1,1,1, 'Cloudburst Ring (Heart of Wind Heroic)'), +(@ENTRY,65379,0,0,0,1,1,1,1, 'Sky Strider Greaves (Heart of Wind Heroic)'), +(@ENTRY,65380,0,0,0,1,1,1,1, 'Thunder Wall Greaves (Heart of Wind Heroic)'), +(@ENTRY,65378,0,0,0,1,1,1,1, 'Star Chaser Legguards (Heart of Wind Heroic)'), +(@ENTRY,65381,0,0,0,1,1,1,1, 'Wind Stalker Leggings (Heart of Wind Heroic)'), +(@ENTRY,65385,0,0,0,1,1,1,1, 'Tempest Keeper Leggings (Heart of Wind Heroic)'), +(@ENTRY,65386,0,0,0,1,1,1,1, 'Lightning Well Legguards (Heart of Wind Heroic)'), +(@ENTRY,65384,0,0,0,1,1,1,1, 'Gale Rouser Leggings (Heart of Wind Heroic)'), +(@ENTRY,65383,0,0,0,1,1,1,1, 'Soul Breath Leggings (Heart of Wind Heroic)'), +(@ENTRY,68130,0,0,0,1,1,1,1, 'Stormwake, the Tempest''s Reach (Heart of Wind Heroic)'), +(@ENTRY,68131,0,0,0,1,1,1,1, 'Stormwake, the Tempest''s Reach (Heart of Wind Heroic)'), +(@ENTRY,68132,0,0,0,1,1,1,1, 'Stormwake, the Tempest''s Reach (Heart of Wind Heroic)'), +(@ENTRY,69880,0,0,0,1,1,1,1, 'Mistral Pendant (Heart of Wind Heroic)'), +(@ENTRY,69883,0,0,0,1,1,1,1, 'Permafrost Choker (Heart of Wind Heroic)'), +(@ENTRY,69885,0,0,0,1,1,1,1, 'Cloudburst Necklace (Heart of Wind Heroic)'), +(@ENTRY,69882,0,0,0,1,1,1,1, 'Planetary Amulet (Heart of Wind Heroic)'), +(@ENTRY,69884,0,0,0,1,1,1,1, 'Mistral Drape (Heart of Wind Heroic)'), +(@ENTRY,69879,0,0,0,1,1,1,1, 'Cloudburst Cloak (Heart of Wind Heroic)'), +(@ENTRY,69878,0,0,0,1,1,1,1, 'Permafrost Cape (Heart of Wind Heroic)'), +(@ENTRY,69881,0,0,0,1,1,1,1, 'Planetary Drape (Heart of Wind Heroic)'), +(@ENTRY,65002,0,0,0,1,1,1,1, 'Crown of the Forlorn Vanquisher (Al''Akir Heroic)'), +(@ENTRY,65001,0,0,0,1,1,1,1, 'Crown of the Forlorn Conqueror (Al''Akir Heroic)'), +(@ENTRY,65000,0,0,0,1,1,1,1, 'Crown of the Forlorn Protector (Al''Akir Heroic)'), +(@ENTRY,65089,0,0,0,1,1,1,1, 'Shoulders of the Forlorn Vanquisher (Al''Akir Heroic)'), +(@ENTRY,65088,0,0,0,1,1,1,1, 'Shoulders of the Forlorn Conqueror (Al''Akir Heroic)'), +(@ENTRY,65087,0,0,0,1,1,1,1, 'Shoulders of the Forlorn Protector (Al''Akir Heroic)'); + +-- Set Reference loots +SET @FRAGMENTRAIDFINDER := 34414; +SET @FRAGMENTNORMAL := 34415; +SET @FRAGMENTHEROIC := 34416; + +-- Set Gold +UPDATE `gameobject_template_addon` SET `faction`=0, `flags`=0, `mingold`=220000, `maxgold`=280000 WHERE `entry` IN (210079,210219,210220); +UPDATE `gameobject_template_addon` SET `faction`=0, `flags`=0, `mingold`=30000000, `maxgold`=34000000 WHERE `entry` IN (210218,210217); + +-- Elementium Fragment - Deathwing - Dragon Soul - Normal 10 Man Entry: 210079 +SET @ENTRY := 41161; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,77952,0,100,1,1,1,1,3, 'Elementium Gem Cluster (Quest Item)'), +(@ENTRY,78352,0,100,1,1,1,1,3, 'Fragment of Deathwing''s Jaw (Quest Item)'), +(@ENTRY,71998,0,100,0,1,1,1,3, 'Essence of Destruction'), +(@ENTRY,77067,0,100,0,1,2,1,1, 'Reins of the Blazing Drake'), +(@ENTRY,1,@FRAGMENTNORMAL,100,0,1,1,3,3, 'Random Loot (Elementium Fragment)'); + +-- Elementium Fragment - Deathwing - Dragon Soul - Normal 25 Man Entry: 210218 +SET @ENTRY := 41177; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,77952,0,100,1,1,1,1,3, 'Elementium Gem Cluster (Quest Item)'), +(@ENTRY,78352,0,100,1,1,1,1,3, 'Fragment of Deathwing''s Jaw (Quest Item)'), +(@ENTRY,71998,0,100,0,1,1,1,3, 'Essence of Destruction'), +(@ENTRY,77067,0,100,0,1,2,1,1, 'Reins of the Blazing Drake'), +(@ENTRY,1,@FRAGMENTNORMAL,100,0,1,1,5,5, 'Random Loot (Elementium Fragment)'); + +-- Elementium Fragment - Deathwing - Dragon Soul - Heroic 10 Man Entry: 210219 +SET @ENTRY := 41194; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,77952,0,100,1,1,1,1,3, 'Elementium Gem Cluster (Quest Item)'), +(@ENTRY,71998,0,100,0,1,1,1,3, 'Essence of Destruction'), +(@ENTRY,77067,0,100,0,1,2,1,1, 'Reins of the Blazing Drake'), +(@ENTRY,77069,0,100,0,1,3,1,2, 'Life-Binder''s Handmaiden'), +(@ENTRY,1,@FRAGMENTHEROIC,100,0,1,1,3,3, 'Random Loot (Elementium Fragment Heroic)'); + +-- Elementium Fragment - Deathwing - Dragon Soul - Heroic 25 Man Entry: 210217 +SET @ENTRY := 41207; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,77952,0,100,1,1,1,1,3, 'Elementium Gem Cluster (Quest Item)'), +(@ENTRY,71998,0,100,0,1,1,1,3, 'Essence of Destruction'), +(@ENTRY,77067,0,100,0,1,2,1,1, 'Reins of the Blazing Drake'), +(@ENTRY,77069,0,100,0,1,3,1,2, 'Life-Binder''s Handmaiden'), +(@ENTRY,1,@FRAGMENTHEROIC,100,0,1,1,5,5, 'Random Loot (Elementium Fragment)'); + +-- Elementium Fragment - Deathwing - Dragon Soul - Raid Finder 25 Man Entry: 210220 +SET @ENTRY := 41186; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,1,@FRAGMENTRAIDFINDER,100,0,1,1,5,5, 'Random Loot (Elementium Fragment)'); + +-- Elementium Fragment Loot +SET @ENTRY := @FRAGMENTRAIDFINDER; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,78480,0,0,0,1,1,1,1, 'Vishanka, Jaws of the Earth (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78481,0,0,0,1,1,1,1, 'No''Kaled, the Elements of Death (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78482,0,0,0,1,1,1,1, 'Kiril, Fury of Beasts (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78483,0,0,0,1,1,1,1, 'Blade of the Unmaker (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78484,0,0,0,1,1,1,1, 'Rathrak, the Poisonous Mind (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78485,0,0,0,1,1,1,1, 'Maw of the Dragonlord (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78486,0,0,0,1,1,1,1, 'Ti''tahk, the Steps of Time (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78487,0,0,0,1,1,1,1, 'Gurthalak, Voice of the Deeps (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'), +(@ENTRY,78488,0,0,0,1,1,1,1, 'Souldrinker (Elementium Fragment - Deathwing - Dragon Soul - Raid Finder)'); + +-- Elementium Fragment Loot +SET @ENTRY := @FRAGMENTNORMAL; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,78359,0,0,0,1,1,1,1, 'Vishanka, Jaws of the Earth (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77188,0,0,0,1,1,1,1, 'No''Kaled, the Elements of Death (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77194,0,0,0,1,1,1,1, 'Kiril, Fury of Beasts (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77189,0,0,0,1,1,1,1, 'Blade of the Unmaker (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77195,0,0,0,1,1,1,1, 'Rathrak, the Poisonous Mind (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77196,0,0,0,1,1,1,1, 'Maw of the Dragonlord (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77190,0,0,0,1,1,1,1, 'Ti''tahk, the Steps of Time (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77191,0,0,0,1,1,1,1, 'Gurthalak, Voice of the Deeps (Elementium Fragment - Deathwing - Dragon Soul - Normal)'), +(@ENTRY,77193,0,0,0,1,1,1,1, 'Souldrinker (Elementium Fragment - Deathwing - Dragon Soul - Normal)'); + +-- Elementium Fragment Loot +SET @ENTRY := @FRAGMENTHEROIC; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,78471,0,0,0,1,1,1,1, 'Vishanka, Jaws of the Earth (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78472,0,0,0,1,1,1,1, 'No''Kaled, the Elements of Death (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78473,0,0,0,1,1,1,1, 'Kiril, Fury of Beasts (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78474,0,0,0,1,1,1,1, 'Blade of the Unmaker (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78475,0,0,0,1,1,1,1, 'Rathrak, the Poisonous Mind (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78476,0,0,0,1,1,1,1, 'Maw of the Dragonlord (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78477,0,0,0,1,1,1,1, 'Ti''tahk, the Steps of Time (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78478,0,0,0,1,1,1,1, 'Gurthalak, Voice of the Deeps (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'), +(@ENTRY,78479,0,0,0,1,1,1,1, 'Souldrinker (Elementium Fragment - Deathwing - Dragon Soul - Heroic)'); + +-- Set Reference loots +SET @ICECHEST := 34417; + +UPDATE `gameobject_template_addon` SET `faction`=0, `flags`=0, `mingold`=20000, `maxgold`=25000 WHERE `entry` IN (187892); + +-- Ice Chest - Ahune - The Slave Pens - Midsummer Fire Festival Entry: 187892 +SET @ENTRY := 39696; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,35557,0,50,0,1,1,2,2, 'Huge Snowball'), +(@ENTRY,35720,0,10,0,1,1,1,1, 'Lord of Frost''s Private Label'), +(@ENTRY,35498,0,3,0,1,1,1,1, 'Formula: Enchant Weapon - Deathfrost'), +(@ENTRY,1,@ICECHEST,100,0,1,1,1,1, 'Random Loot (Ice Chest)'); + +-- Ice Chest Loot +SET @ENTRY := @ICECHEST; +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(@ENTRY,69766,0,0,0,1,1,1,1, 'The Frost Lord''s War Cloak (Ice Chest - Ahune - The Slave Pens - Midsummer Fire Festival)'), +(@ENTRY,69767,0,0,0,1,1,1,1, 'The Frost Lord''s Battle Shroud (Ice Chest - Ahune - The Slave Pens - Midsummer Fire Festival)'), +(@ENTRY,69768,0,0,0,1,1,1,1, 'Shroud of Winter''s Chill (Ice Chest - Ahune - The Slave Pens - Midsummer Fire Festival)'), +(@ENTRY,69769,0,0,0,1,1,1,1, 'Cloak of the Frigid Winds (Ice Chest - Ahune - The Slave Pens - Midsummer Fire Festival)'), +(@ENTRY,69770,0,0,0,1,1,1,1, 'Icebound Cloak (Ice Chest - Ahune - The Slave Pens - Midsummer Fire Festival)');