diff --git a/data/sql/updates/pending_db_world/rev_1771805490746014200.sql b/data/sql/updates/pending_db_world/rev_1771805490746014200.sql new file mode 100644 index 000000000..d2a785586 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1771805490746014200.sql @@ -0,0 +1,235 @@ +-- +DELETE FROM `creature_loot_template` WHERE `Entry` IN (24291, 23776, 24104, 26862, 26863, 29885, 27821, 26290, 30492); +UPDATE `creature_template` SET `lootid` = 0 WHERE `Entry` IN (24291, 23776, 24104, 26862, 26863, 29885, 27821, 26290, 30492); + +DELETE FROM `creature_loot_template` WHERE `Entry` IN (24398,24400,31693,24201,24238,24469,25301,25601,25789,25801,25804,26578,26828,26836,27006,27007,27008,27009,27122,27210,27247,27334,27579,27580,27859,28068,28255,29375,29503,29614,29836,30831,30925,31139,31399,32278,32353,24440,25228,25234,25488,28399,29026,29696,29710,31040,32181,23725,23993,24329,24371,24547,24900,24914,25618,26287,26291,26293,26333,26360,26406,26417,26633,26838,26841,26858,27002,27018,27105,27249,27383,27578,27645,27647,27732,27743,27744,27860,28199,28200,28443,28467,28477,28597,28659,28784,28793,29664,30829,30830,30861,30892,30954,31180,31184,31188,31198,31203,31206,31229,31255,31502,32770,32772,40419) AND `Reference` IN (1200067,1200068,1200069,1200071,1200076,1200077,1200078,1200079,1200080,1200170,1200171,1200179,1200180,1200270,1200271,1200272,1200273,1200274,1200275,1200276,1200277,1200279,1200280,1200281,1200282,1200369,1200370,1200371,1200372,1200373,1200374,1200375,1200376,1200377,1200379,1200380,1200381,1200382,1270001,1270002); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `GroupId`, `Comment`) VALUES +(23725, 1, 1200270, 0, 5, 'Stone Giant - World Loot Level 70'), +(23993, 1, 1200271, 0, 5, 'Sepulchral Overseer - World Loot Level 71'), +(24201, 1, 1200372, 0, 5, 'Dalronn the Controller - World Loot Level 72'), +(24201, 33470, 1270002, 25, 0, 'Dalronn the Controller - Frostweave Cloth Elite'), +(24238, 1, 1200370, 0, 5, 'Bjorn Halgurdsson - World Loot Level 70'), +(24238, 33470, 1270002, 25, 0, 'Bjorn Halgurdsson - Frostweave Cloth Elite'), +(24329, 1, 1200270, 0, 5, 'Runed Stone Giant - World Loot Level 70'), +(24371, 1, 1200271, 0, 5, 'Megalith - World Loot Level 71'), +(24398, 1, 1200171, 0, 5, 'Steel Gate Excavator - World Loot Level 71'), +(24398, 33470, 1270001, 25, 0, 'Steel Gate Excavator - Frostweave Cloth Normal'), +(24400, 1, 1200170, 0, 5, 'Steel Gate Archaeologist - World Loot Level 70'), +(24400, 2, 1200171, 0, 5, 'Steel Gate Archaeologist - World Loot Level 71'), +(24400, 33470, 1270001, 25, 0, 'Steel Gate Archaeologist - Frostweave Cloth Normal'), +(24440, 1, 1200071, 0, 5, 'Gjalerbron Gargoyle - World Loot Level 71'), +(24469, 1, 1200369, 0, 5, 'Magnataur Huntress - World Loot Level 69'), +(24469, 33470, 1270002, 25, 0, 'Magnataur Huntress - Frostweave Cloth Elite'), +(24547, 1, 1200271, 0, 5, 'Hozzer - World Loot Level 71'), +(24900, 1, 1200272, 0, 5, 'Abdul the Insane - World Loot Level 72'), +(24914, 1, 1200280, 0, 5, 'Sorlof - World Loot Level 80'), +(25228, 1, 1200069, 0, 5, 'Risen Crypt Lord - World Loot Level 69'), +(25234, 1, 1200068, 0, 5, 'Stormfleet Deckhand - World Loot Level 68'), +(25234, 2, 1200069, 0, 5, 'Stormfleet Deckhand - World Loot Level 69'), +(25301, 1, 1200372, 0, 5, 'Counselor Talbot - World Loot Level 72'), +(25301, 33470, 1270002, 25, 0, 'Counselor Talbot - Frostweave Cloth Elite'), +(25488, 1, 1200068, 0, 5, 'Wooly Rhino Calf - World Loot Level 68'), +(25601, 1, 1200372, 0, 5, 'Prince Valanar - World Loot Level 72'), +(25601, 33470, 1270002, 25, 0, 'Prince Valanar - Frostweave Cloth Elite'), +(25618, 1, 1200270, 0, 5, 'Varidus the Flenser - World Loot Level 70'), +(25789, 1, 1200371, 0, 5, 'Gammothra the Tormentor - World Loot Level 71'), +(25789, 33470, 1270002, 25, 0, 'Gammothra the Tormentor - Frostweave Cloth Elite'), +(25801, 1, 1200372, 0, 5, 'Nedar, Lord of Rhinos - World Loot Level 72'), +(25801, 33470, 1270002, 25, 0, 'Nedar, Lord of Rhinos - Frostweave Cloth Elite'), +(25804, 1, 1200372, 0, 5, 'Harold Lane - World Loot Level 72'), +(25804, 33470, 1270002, 25, 0, 'Harold Lane - Frostweave Cloth Elite'), +(26287, 1, 1200273, 0, 5, 'Icestorm - World Loot Level 73'), +(26291, 1, 1200273, 0, 5, 'Crystalline Ice Giant - World Loot Level 73'), +(26291, 2, 1200274, 0, 5, 'Crystalline Ice Giant - World Loot Level 74'), +(26293, 1, 1200273, 0, 5, 'Hulking Jormungar - World Loot Level 73'), +(26293, 2, 1200274, 0, 5, 'Hulking Jormungar - World Loot Level 74'), +(26333, 1, 1200271, 0, 5, 'Corrupted Lothalor Ancient - World Loot Level 71'), +(26333, 2, 1200272, 0, 5, 'Corrupted Lothalor Ancient - World Loot Level 72'), +(26360, 1, 1200274, 0, 5, 'Rattlebore - World Loot Level 74'), +(26406, 1, 1200274, 0, 5, 'The Anvil - World Loot Level 74'), +(26417, 1, 1200274, 0, 5, 'Runed Giant - World Loot Level 74'), +(26417, 2, 1200275, 0, 5, 'Runed Giant - World Loot Level 75'), +(26578, 1, 1200374, 0, 5, 'Mistress of the Coldwind - World Loot Level 74'), +(26578, 33470, 1270002, 25, 0, 'Mistress of the Coldwind - Frostweave Cloth Elite'), +(26633, 1, 1200275, 0, 5, 'Ursoc - World Loot Level 75'), +(26828, 1, 1200374, 0, 5, 'Magister Keldonus - World Loot Level 74'), +(26828, 33470, 1270002, 25, 0, 'Magister Keldonus - Frostweave Cloth Elite'), +(26836, 1, 1200374, 0, 5, 'Gigantaur - World Loot Level 74'), +(26836, 33470, 1270002, 25, 0, 'Gigantaur - Frostweave Cloth Elite'), +(26838, 1, 1200274, 0, 5, 'Dreadtalon - World Loot Level 74'), +(26841, 1, 1200273, 0, 5, 'Reanimated Frost Wyrm - World Loot Level 73'), +(26841, 2, 1200274, 0, 5, 'Reanimated Frost Wyrm - World Loot Level 74'), +(26858, 1, 1200275, 0, 5, 'Sarathstra - World Loot Level 75'), +(27002, 1, 1200274, 0, 5, 'Grom\'thar the Thunderbringer - World Loot Level 74'), +(27006, 1, 1200373, 0, 5, 'Bonesunder - World Loot Level 73'), +(27006, 33470, 1270002, 25, 0, 'Bonesunder - Frostweave Cloth Elite'), +(27007, 1, 1200373, 0, 5, 'Iceshatter - World Loot Level 73'), +(27007, 33470, 1270002, 25, 0, 'Iceshatter - Frostweave Cloth Elite'), +(27008, 1, 1200373, 0, 5, 'Bloodfeast - World Loot Level 73'), +(27008, 33470, 1270002, 25, 0, 'Bloodfeast - Frostweave Cloth Elite'), +(27009, 1, 1200373, 0, 5, 'Drakegore - World Loot Level 73'), +(27009, 33470, 1270002, 25, 0, 'Drakegore - Frostweave Cloth Elite'), +(27018, 1, 1200275, 0, 5, 'Shade of Arugal - World Loot Level 75'), +(27105, 1, 1200273, 0, 5, 'Kreug Oathbreaker - World Loot Level 73'), +(27122, 1, 1200374, 0, 5, 'Overseer Deathgaze - World Loot Level 74'), +(27122, 33470, 1270002, 25, 0, 'Overseer Deathgaze - Frostweave Cloth Elite'), +(27210, 1, 1200372, 0, 5, 'High General Abbendis - World Loot Level 72'), +(27210, 33470, 1270002, 25, 0, 'High General Abbendis - Frostweave Cloth Elite'), +(27247, 1, 1200372, 0, 5, 'Devout Bodyguard - World Loot Level 72'), +(27247, 33470, 1270002, 25, 0, 'Devout Bodyguard - Frostweave Cloth Elite'), +(27249, 1, 1200274, 0, 5, 'Alystros the Verdant Keeper - World Loot Level 74'), +(27334, 1, 1200374, 0, 5, 'Onslaught Commander Iustus - World Loot Level 74'), +(27334, 33470, 1270002, 25, 0, 'Onslaught Commander Iustus - Frostweave Cloth Elite'), +(27383, 1, 1200273, 0, 5, 'Thel\'zan the Duskbringer - World Loot Level 73'), +(27578, 1, 1200275, 0, 5, 'Goremaw - World Loot Level 75'), +(27579, 1, 1200375, 0, 5, 'Varlam - World Loot Level 75'), +(27579, 33470, 1270002, 25, 0, 'Varlam - Frostweave Cloth Elite'), +(27580, 1, 1200375, 0, 5, 'Selas - World Loot Level 75'), +(27580, 33470, 1270002, 25, 0, 'Selas - Frostweave Cloth Elite'), +(27645, 1, 1200279, 0, 5, 'Phantasmal Cloudscraper - World Loot Level 79'), +(27647, 1, 1200279, 0, 5, 'Phantasmal Ogre - World Loot Level 79'), +(27732, 1, 1200280, 0, 5, 'Master Necromancer - World Loot Level 80'), +(27743, 1, 1200279, 0, 5, 'Infinite Hunter - World Loot Level 79'), +(27743, 2, 1200280, 0, 5, 'Infinite Hunter - World Loot Level 80'), +(27744, 1, 1200279, 0, 5, 'Infinite Agent - World Loot Level 79'), +(27744, 2, 1200280, 0, 5, 'Infinite Agent - World Loot Level 80'), +(27859, 1, 1200372, 0, 5, 'Vanthryn the Merciless - World Loot Level 72'), +(27859, 33470, 1270002, 25, 0, 'Vanthryn the Merciless - Frostweave Cloth Elite'), +(27860, 1, 1200272, 0, 5, 'Luthion the Vile - World Loot Level 72'), +(28068, 1, 1200376, 0, 5, 'Prophet of Sseratus - World Loot Level 76'), +(28068, 33470, 1270002, 25, 0, 'Prophet of Sseratus - Frostweave Cloth Elite'), +(28199, 1, 1200279, 0, 5, 'Tomb Stalker - World Loot Level 79'), +(28199, 2, 1200280, 0, 5, 'Tomb Stalker - World Loot Level 80'), +(28200, 1, 1200279, 0, 5, 'Dark Necromancer - World Loot Level 79'), +(28200, 2, 1200280, 0, 5, 'Dark Necromancer - World Loot Level 80'), +(28255, 1, 1200376, 0, 5, 'Malas the Corrupter - World Loot Level 76'), +(28255, 33470, 1270002, 25, 0, 'Malas the Corrupter - Frostweave Cloth Elite'), +(28399, 1, 1200077, 0, 5, 'Zeptek the Destroyer - World Loot Level 77'), +(28443, 1, 1200277, 0, 5, 'Thalgran Blightbringer - World Loot Level 77'), +(28467, 1, 1200277, 0, 5, 'Broodmother Slivina - World Loot Level 77'), +(28477, 1, 1200276, 0, 5, 'Scion of Quetz\'lun - World Loot Level 76'), +(28477, 2, 1200277, 0, 5, 'Scion of Quetz\'lun - World Loot Level 77'), +(28597, 1, 1200276, 0, 5, 'Guardian of Zim\'Rhuk - World Loot Level 76'), +(28597, 2, 1200277, 0, 5, 'Guardian of Zim\'Rhuk - World Loot Level 77'), +(28659, 1, 1200277, 0, 5, 'Artruis the Heartless - World Loot Level 77'), +(28784, 1, 1200276, 0, 5, 'Altar Warden - World Loot Level 76'), +(28784, 2, 1200277, 0, 5, 'Altar Warden - World Loot Level 77'), +(28793, 1, 1200276, 0, 5, 'Darmuk - World Loot Level 76'), +(29026, 1, 1200076, 0, 5, 'Kolramas Slime - World Loot Level 76'), +(29375, 1, 1200380, 0, 5, 'Stormforged Iron Giant - World Loot Level 80'), +(29375, 33470, 1270002, 25, 0, 'Stormforged Iron Giant - Frostweave Cloth Elite'), +(29503, 1, 1200379, 0, 5, 'Fjorn - World Loot Level 79'), +(29503, 2, 1200380, 0, 5, 'Fjorn - World Loot Level 80'), +(29503, 33470, 1270002, 25, 0, 'Fjorn - Frostweave Cloth Elite'), +(29614, 1, 1200379, 0, 5, 'Onslaught Darkweaver - World Loot Level 79'), +(29614, 2, 1200380, 0, 5, 'Onslaught Darkweaver - World Loot Level 80'), +(29614, 33470, 1270002, 25, 0, 'Onslaught Darkweaver - Frostweave Cloth Elite'), +(29664, 1, 1200275, 0, 5, 'Ragemane - World Loot Level 75'), +(29696, 1, 1200079, 0, 5, 'Stormforged Pursuer - World Loot Level 79'), +(29696, 2, 1200080, 0, 5, 'Stormforged Pursuer - World Loot Level 80'), +(29710, 1, 1200078, 0, 5, 'Onslaught Destrier - World Loot Level 78'), +(29710, 2, 1200079, 0, 5, 'Onslaught Destrier - World Loot Level 79'), +(29836, 1, 1200377, 0, 5, 'Drakkari Battle Rider - World Loot Level 77'), +(29836, 33470, 1270002, 25, 0, 'Drakkari Battle Rider - Frostweave Cloth Elite'), +(30829, 1, 1200279, 0, 5, 'Salranax the Flesh Render - World Loot Level 79'), +(30830, 1, 1200279, 0, 5, 'Underking Talonox - World Loot Level 79'), +(30831, 1, 1200379, 0, 5, 'High Priest Yath\'amon - World Loot Level 79'), +(30831, 33470, 1270002, 25, 0, 'High Priest Yath\'amon - Frostweave Cloth Elite'), +(30861, 1, 1200280, 0, 5, 'Unbound Ancient - World Loot Level 80'), +(30892, 1, 1200276, 0, 5, 'Portal Guardian - World Loot Level 76'), +(30925, 1, 1200380, 0, 5, 'Drakkari Battle Rider (1) - World Loot Level 80'), +(30925, 2, 1200381, 0, 5, 'Drakkari Battle Rider (1) - World Loot Level 81'), +(30925, 33470, 1270002, 25, 0, 'Drakkari Battle Rider (1) - Frostweave Cloth Elite'), +(30954, 1, 1200280, 0, 5, 'Rokir - World Loot Level 80'), +(31040, 1, 1200077, 0, 5, 'Wrathstrike Gargoyle - World Loot Level 77'), +(31040, 2, 1200078, 0, 5, 'Wrathstrike Gargoyle - World Loot Level 78'), +(31139, 1, 1200381, 0, 5, 'Pustulent Horror - World Loot Level 81'), +(31139, 2, 1200382, 0, 5, 'Pustulent Horror - World Loot Level 82'), +(31139, 33470, 1270002, 25, 0, 'Pustulent Horror - Frostweave Cloth Elite'), +(31180, 1, 1200280, 0, 5, 'Master Necromancer (1) - World Loot Level 80'), +(31184, 1, 1200280, 0, 5, 'Dark Necromancer (1) - World Loot Level 80'), +(31188, 1, 1200280, 0, 5, 'Tomb Stalker (1) - World Loot Level 80'), +(31198, 1, 1200282, 0, 5, 'Coprous the Defiled - World Loot Level 82'), +(31203, 1, 1200280, 0, 5, 'Infinite Agent (1) - World Loot Level 80'), +(31206, 1, 1200280, 0, 5, 'Infinite Hunter (1) - World Loot Level 80'), +(31229, 1, 1200280, 0, 5, 'Ancient Watcher - World Loot Level 80'), +(31255, 1, 1200280, 0, 5, 'Saronite Shaper - World Loot Level 80'), +(31399, 1, 1200380, 0, 5, 'Foreman Thaldrin - World Loot Level 80'), +(31399, 33470, 1270002, 25, 0, 'Foreman Thaldrin - Frostweave Cloth Elite'), +(31502, 1, 1200281, 0, 5, 'Portal Guardian (1) - World Loot Level 81'), +(31693, 1, 1200179, 0, 5, 'Stormforged Saboteur - World Loot Level 79'), +(31693, 2, 1200180, 0, 5, 'Stormforged Saboteur - World Loot Level 80'), +(31693, 33470, 1270001, 25, 0, 'Stormforged Saboteur - Frostweave Cloth Normal'), +(32181, 1, 1200080, 0, 5, 'Living Plague - World Loot Level 80'), +(32278, 1, 1200380, 0, 5, 'Harbinger of Horror - World Loot Level 80'), +(32278, 33470, 1270002, 25, 0, 'Harbinger of Horror - Frostweave Cloth Elite'), +(32353, 1, 1200380, 0, 5, 'Archavon Warder - World Loot Level 80'), +(32353, 33470, 1270002, 25, 0, 'Archavon Warder - Frostweave Cloth Elite'), +(32770, 1, 1200280, 0, 5, 'Enraged Fleshrender - World Loot Level 80'), +(32772, 1, 1200280, 0, 5, 'Skeletal Footsoldier - World Loot Level 80'), +(40419, 1, 1200282, 0, 5, 'Charscale Assaulter - World Loot Level 82'); + +-- Loose Items +DELETE FROM `creature_loot_template` +WHERE `Item` IN (33358,33359,33360,33361,33362,33363,33364,33372,33373,33374,33375,33376,33377,33378,33390,33391,33392,33393,33394,33395,33396,33404,33405,33406,33407,33408,33409,33410,33422,33423,33424,33425,33426,33427,33428,33429,33430,33431,33437,33438,33439,33440,33365,33366,33367,33368,33369,33370,33371,33379,33380,33381,33382,33383,33384,33385,33397,33398,33399,33400,33401,33402,33403,33412,33413,33414,33415,33416,33417,33419,33433,33434,33435,33436,35955,35956,35957,35958,35959,35960,35961,35962,36067,36068,36069,36070,36071,36072,36073,36074,36179,36180,36181,36182,36183,36184,36185,36186,36291,36292,36293,36294,36295,36296,36297,36298,36403,36417,36431,36445,36459,36473,36487,36501,36515,36529,36543,36557,36571,36585,36599,36613,36627,36641,36655,36669,36683,36697,36711,35963,35964,35965,35966,35967,35968,35969,35970,36075,36076,36077,36078,36079,36080,36081,36082,36187,36188,36189,36190,36191,36192,36193,36194,36299,36300,36301,36302,36303,36304,36305,36306,36404,36418,36432,36446,36460,36474,36488,36502,36516,36530,36544,36558,36572,36586,36600,36614,36628,36642,36656,36670,36684,36698,36712,35971,35972,35973,35974,35975,35976,35977,35978,36083,36084,36085,36086,36087,36088,36089,36090,36195,36196,36197,36198,36199,36200,36201,36202,36307,36308,36309,36310,36311,36312,36313,36314,36405,36419,36433,36447,36461,36475,36489,36503,36517,36531,36545,36559,36573,36587,36601,36615,36629,36643,36657,36671,36685,36699,36713,35979,35980,35981,35982,35983,35984,35985,35986,36091,36092,36093,36094,36095,36096,36097,36098,36203,36204,36205,36206,36207,36208,36209,36210,36315,36316,36317,36318,36319,36320,36321,36322,36406,36420,36434,36448,36462,36476,36490,36504,36518,36532,36546,36560,36574,36588,36602,36616,36630,36644,36658,36672,36686,36700,36714,35987,35988,35989,35990,35991,35992,35993,35994,36099,36100,36101,36102,36103,36104,36105,36106,36211,36212,36213,36214,36215,36216,36217,36218,36323,36324,36325,36326,36327,36328,36329,36330,36407,36421,36435,36449,36463,35995,35996,35997,35998,35999,36000,36001,36002,36107,36108,36109,36110,36111,36112,36113,36114,36219,36220,36221,36222,36223,36224,36225,36226,36331,36332,36333,36334,36335,36336,36337,36338,36408,36422,36436,36450,36464,36478,36492,36506,36520,36534,36548,36562,36576,36590,36604,36618,36632,36646,36660,36674,36688,36702,36716,36003,36004,36005,36006,36007,36008,36009,36010,36115,36116,36117,36118,36119,36120,36121,36122,36227,36228,36229,36230,36231,36232,36233,36234,36339,36340,36341,36342,36343,36344,36345,36346,36409,36423,36437,36451,36465,36479,36493,36507,36521,36535,36549,36563,36577,36591,36605,36619,36633,36647,36661,36675,36689,36703,36717,36011,36012,36013,36014,36015,36016,36017,36018,36123,36124,36125,36126,36127,36128,36129,36130,36235,36236,36237,36238,36239,36240,36241,36242,36347,36348,36349,36350,36351,36352,36353,36354,36410,36424,36438,36452,36466,36480,36494,36508,36522,36536,36550,36564,36578,36592,36606,36620,36634,36648,36662,36676,36690,36704,36718,36019,36020,36021,36022,36023,36024,36025,36026,36131,36132,36133,36134,36135,36136,36137,36138,36243,36244,36245,36246,36247,36248,36249,36250,36355,36356,36357,36358,36359,36360,36361,36362,36411,36425,36439,36453,36467,36481,36495,36509,36523,36537,36551,36565,36579,36593,36607,36621,36635,36649,36663,36677,36691,36705,36719,36027,36028,36029,36030,36031,36032,36033,36034,36139,36140,36141,36142,36143,36144,36145,36146,36251,36252,36253,36254,36255,36256,36257,36258,36363,36364,36365,36366,36367,36368,36369,36370,36412,36426,36440,36468,36482,36496,36510,36524,36538,36552,36566,36580,36594,36608,36622,36636,36650,36664,36678,36692,36706,36720,36035,36036,36037,36038,36039,36040,36041,36042,36147,36148,36149,36150,36151,36152,36153,36154,36259,36260,36261,36262,36263,36264,36265,36266,36371,36372,36373,36374,36375,36376,36377,36378,36413,36427,36441,36455,36469,36483,36497,36511,36525,36539,36553,36567,36581,36595,36609,36623,36637,36651,36665,36679,36693,36707,36721,36043,36044,36045,36046,36047,36048,36049,36050,36155,36156,36157,36158,36159,36160,36161,36162,36267,36268,36269,36270,36271,36272,36273,36274,36379,36380,36381,36382,36383,36384,36385,36386,36414,36428,36442,36456,36470,36484,36498,36512,36526,36540,36554,36568,36582,36596,36610,36624,36638,36652,36666,36680,36694,36708,36722,36051,36052,36053,36054,36055,36056,36057,36058,36163,36164,36165,36166,36167,36168,36169,36170,36275,36276,36277,36278,36279,36280,36281,36282,36387,36388,36389,36390,36391,36392,36393,36394,36415,36429,36443,36457,36471,36485,36499,36513,36527,36541,36555,36569,36583,36597,36611,36625,36639,36653,36667,36681,36695,36709,36723,36059,36060,36061,36062,36063,36064,36065,36066,36171,36172,36173,36174,36175,36176,36177,36178,36283,36284,36285,36286,36287,36288,36289,36290,36395,36396,36397,36398,36399,36400,36401,36402,36416,36430,36444,36458,36472,36486,36500,36514,36528,36542,36556,36570,36584,36598,36612,36626,36640,36654,36668,36682,36696,36710,36724,37743,37744,37745,37746,37747,37748,37749,37751,37752,37762,37772,37782,37753,37763,37773,37783,37803,37819,37754,37764,37774,37795,37796,37820,37755,37775,37785,37802,37811,37817,37756,37765,37776,37786,37807,37821,37757,37766,37777,37787,37805,37813,37758,37767,37778,37789,37804,37810,37812,37759,37768,37790,37806,37808,37809,37769,37779,37792,37797,37823,37760,37770,37780,37793,37822,37761,37771,37781,37794,37824,37254,37835,43573,44308,44309,44310,44311,44312,44313,22829,22832,37091,37093,37097,43463,43465,43467,33447,33448,43507,43508,43509,43510,43622,43876,39152,41777,41778,41779,41780,41781,41782,41783,41784,41785,41786,41787,41788,41789,42172,42173,42175,42176,42177,42178,43297,43624,45912,33470) +AND `Entry` IN (24398,24400,31693,24201,24238,24469,25301,25601,25789,25801,25804,26578,26828,26836,27006,27007,27008,27009,27122,27210,27247,27334,27579,27580,27859,28068,28255,29375,29503,29614,29836,30831,30925,31139,31399,32278,32353,24440,25228,25234,25488,28399,29026,29696,29710,31040,32181,23725,23993,24329,24371,24547,24900,24914,25618,26287,26291,26293,26333,26360,26406,26417,26633,26838,26841,26858,27002,27018,27105,27249,27383,27578,27645,27647,27732,27743,27744,27860,28199,28200,28443,28467,28477,28597,28659,28784,28793,29664,30829,30830,30861,30892,30954,31180,31184,31188,31198,31203,31206,31229,31255,31502,32770,32772,40419) AND `Reference` = 0; +-- Delete Legacy References +DELETE FROM `creature_loot_template` WHERE +`Entry` IN (24398,24400,31693,24201,24238,24469,25301,25601,25789,25801,25804,26578,26828,26836,27006,27007,27008,27009,27122,27210,27247,27334,27579,27580,27859,28068,28255,29375,29503,29614,29836,30831,30925,31139,31399,32278,32353,24440,25228,25234,25488,28399,29026,29696,29710,31040,32181,23725,23993,24329,24371,24547,24900,24914,25618,26287,26291,26293,26333,26360,26406,26417,26633,26838,26841,26858,27002,27018,27105,27249,27383,27578,27645,27647,27732,27743,27744,27860,28199,28200,28443,28467,28477,28597,28659,28784,28793,29664,30829,30830,30861,30892,30954,31180,31184,31188,31198,31203,31206,31229,31255,31502,32770,32772,40419) +AND `Reference` IN (26001,26040,26000,24727,26002,26008,26007,26009,26006,26005,26010,26014,26013,26015,26012,26004,26011,26003,26018,26020,26021,26028,26019,26022,26023,26024,26016,26017,26025); + +-- Removes Frostweave Cloth from a boss' Reference +DELETE FROM `reference_loot_template` WHERE (`Entry` = 35045) AND (`Item` IN (33470)); + +DELETE FROM `reference_loot_template` WHERE (`Entry` IN (1200369,1200275,1200282,1200382)); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(1200369, 1, 1206874, 10, 0, 1, 0, 1, 1, 'WotLK Greys 68-74 Level Range'), +(1200369, 2, 1226870, 5, 0, 1, 1, 1, 1, 'WotLK Greens 68-70 Level Range'), +(1200369, 3, 1226971, 5, 0, 1, 1, 1, 1, 'WotLK Greens 69-71 Level Range'), +(1200369, 4, 1236871, 0.1, 0, 1, 0, 1, 1, 'WotLK Blues 68-71 Level Range'), +(1200369, 5, 1266870, 100, 0, 1, 0, 1, 1, 'WotLK Profession Drops 68-70 Level Range'), +(1200369, 6, 1256875, 3, 0, 1, 0, 1, 1, 'WotLK Potions 68-75 Level Range'), +(1200369, 7, 1256883, 1, 0, 1, 0, 1, 1, 'WotLK Scrolls'), + +(1200275, 1, 1207583, 10, 0, 1, 0, 1, 1, 'WotLK Greys 75+ Level Range'), +(1200275, 2, 1227375, 3.33, 0, 1, 1, 1, 1, 'WotLK Greens 73-75 Level Range'), +(1200275, 3, 1227476, 3.33, 0, 1, 1, 1, 1, 'WotLK Greens 74-76 Level Range'), +(1200275, 4, 1227577, 3.33, 0, 1, 1, 1, 1, 'WotLK Greens 75-77 Level Range'), +(1200275, 5, 1237375, 0.033, 0, 1, 2, 1, 1, 'WotLK Blues 73-75 Level Range'), +(1200275, 6, 1237476, 0.033, 0, 1, 2, 1, 1, 'WotLK Blues 74-76 Level Range'), +(1200275, 7, 1237577, 0.033, 0, 1, 2, 1, 1, 'WotLK Blues 75-77 Level Range'), +(1200275, 8, 1267579, 100, 0, 1, 0, 1, 1, 'WotLK Profession Drops 75-79 Level Range'), + +(1200282, 1, 1207583, 10, 0, 1, 0, 1, 1, 'WotLK Greys 75+ Level Range'), +(1200282, 2, 1228082, 5, 0, 1, 1, 1, 1, 'WotLK Greens 80-82 Level Range'), +(1200282, 3, 1228183, 5, 0, 1, 1, 1, 1, 'WotLK Greens 81-83 Level Range'), +(1200282, 4, 1238083, 0.1, 0, 1, 2, 1, 1, 'WotLK Blues 80-83 Level Range'), +(1200282, 5, 1248083, 0.01, 0, 1, 0, 1, 1, 'WotLK Purples 80+ Level Range'), +(1200282, 6, 1268083, 100, 0, 1, 0, 1, 1, 'WotLK Profession Drops 80+ Level Range'), + +(1200382, 1, 1207583, 10, 0, 1, 0, 1, 1, 'WotLK Greys 75+ Level Range'), +(1200382, 2, 1228082, 5, 0, 1, 1, 1, 1, 'WotLK Greens 80-82 Level Range'), +(1200382, 3, 1228183, 5, 0, 1, 1, 1, 1, 'WotLK Greens 81-83 Level Range'), +(1200382, 4, 1238083, 0.1, 0, 1, 2, 1, 1, 'WotLK Blues 80-83 Level Range'), +(1200382, 5, 1248083, 0.01, 0, 1, 0, 1, 1, 'WotLK Purples 80+ Level Range'), +(1200382, 6, 1268083, 100, 0, 1, 0, 1, 1, 'WotLK Profession Drops 80+ Level Range'), +(1200382, 7, 1257683, 3, 0, 1, 0, 1, 1, 'WotLK Potions 76-83 Level Range'), +(1200382, 8, 1256883, 1, 0, 1, 0, 1, 1, 'WotLK Scrolls'); + +DELETE FROM `reference_loot_template` WHERE `Entry` IN (26000,26001,26009,26011,26016,26017,26018,26019,26020,26021,26022,26023,26024,26025,26028); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 1 AND `SourceGroup` IN (24398,24400,31693,24201,24238,24469,25301,25601,25789,25801,25804,26578,26828,26836,27006,27007,27008,27009,27122,27210,27247,27334,27579,27580,27859,28068,28255,29375,29503,29614,29836,30831,30925,31139,31399,32278,32353,24440,25228,25234,25488,28399,29026,29696,29710,31040,32181,23725,23993,24329,24371,24547,24900,24914,25618,26287,26291,26293,26333,26360,26406,26417,26633,26838,26841,26858,27002,27018,27105,27249,27383,27578,27645,27647,27732,27743,27744,27860,28199,28200,28443,28467,28477,28597,28659,28784,28793,29664,30829,30830,30861,30892,30954,31180,31184,31188,31198,31203,31206,31229,31255,31502,32770,32772,40419) +AND `SourceEntry` IN ( +39152, -- Manual: Heavy Frostweave Bandage +42172, -- Pattern: Red Lumberjack Shirt +42173, -- Pattern: Blue Lumberjack Shirt +42175, -- Pattern: Green Lumberjack Shirt +42177, -- Pattern: Red Workman's Shirt +42178, -- Pattern: Rustic Workman's Shirt +43507, -- Recipe: Tasty Cupcake +43508, -- Recipe: Last Week's Mammoth +43509, -- Recipe: Bad Clams +43510 -- Recipe: Haunted Herring +); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 1) AND (`SourceGroup` = 26863) AND (`SourceEntry` = 43510) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 7) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 185) AND (`ConditionValue2` = 1) AND (`ConditionValue3` = 0);