chore(DB): import pending files

Referenced commit(s): 261afd8854
This commit is contained in:
github-actions[bot]
2026-02-02 01:29:31 +00:00
parent 261afd8854
commit 9bf77e8660

View File

@@ -0,0 +1,604 @@
-- DB update 2026_02_01_02 -> 2026_02_02_00
-- Karazhan: Chances increase as you go up the tower from ~0.4% to ~1%
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1532000);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1532000, 30641, 0, 0, 0, 1, 1, 1, 1, 'Boots of Elusion'),
(1532000, 30642, 0, 0, 0, 1, 1, 1, 1, 'Drape of the Righteous'),
(1532000, 30643, 0, 0, 0, 1, 1, 1, 1, 'Belt of the Tracker'),
(1532000, 30644, 0, 0, 0, 1, 1, 1, 1, 'Grips of Deftness'),
(1532000, 30666, 0, 0, 0, 1, 1, 1, 1, 'Ritssyn\'s Lost Pendant'),
(1532000, 30667, 0, 0, 0, 1, 1, 1, 1, 'Ring of Unrelenting Storms'),
(1532000, 30668, 0, 0, 0, 1, 1, 1, 1, 'Grasp of the Dead'),
(1532000, 30673, 0, 0, 0, 1, 1, 1, 1, 'Inferno Waist Cord'),
(1532000, 30674, 0, 0, 0, 1, 1, 1, 1, 'Zierhut\'s Lost Treads');
DELETE FROM `creature_loot_template` WHERE `Item` IN (30641,30642,30643,30644,30666,30667,30668,30673,30674) AND `Entry` IN (16488,16409,16468,16491,16492,16170,16173,16539,16178,15551,16175,16176,16389,16406,16407,16411,16412,16415,16424,16425,16525,16530,16540,16171,16177,16174,16410,16414,16459,16460,16461,16470,16473,16489,16526,16529,16544,15547,15548,16408,16472,16481,16482,16545,16595,16471,16485,16504,16596);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1532000 AND `Entry` IN (16488,16409,16468,16491,16492,16170,16173,16539,16178,15551,16175,16176,16389,16406,16407,16411,16412,16415,16424,16425,16525,16530,16540,16171,16177,16174,16410,16414,16459,16460,16461,16470,16473,16489,16526,16529,16544,15547,15548,16408,16472,16481,16482,16545,16595,16471,16485,16504,16596);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(16488, 1532000, 1532000, 0.2, 'Arcane Anomaly - Karazhan Epic BoEs'),
(16409, 1532000, 1532000, 0.2, 'Phantom Guest - Karazhan Epic BoEs'),
(16468, 1532000, 1532000, 0.4, 'Spectral Patron - Karazhan Epic BoEs'),
(16491, 1532000, 1532000, 0.4, 'Mana Feeder - Karazhan Epic BoEs'),
(16492, 1532000, 1532000, 0.4, 'Syphoner - Karazhan Epic BoEs'),
(16539, 1532000, 1532000, 0.4, 'Homunculus - Karazhan Epic BoEs'),
(15551, 1532000, 1532000, 0.4, 'Spectral Stable Hand - Karazhan Epic BoEs'),
(16389, 1532000, 1532000, 0.4, 'Spectral Apprentice - Karazhan Epic BoEs'),
(16406, 1532000, 1532000, 0.4, 'Phantom Attendant - Karazhan Epic BoEs'),
(16407, 1532000, 1532000, 0.4, 'Spectral Servant - Karazhan Epic BoEs'),
(16411, 1532000, 1532000, 0.4, 'Spectral Chef - Karazhan Epic BoEs'),
(16412, 1532000, 1532000, 0.4, 'Ghostly Baker - Karazhan Epic BoEs'),
(16415, 1532000, 1532000, 0.4, 'Skeletal Waiter - Karazhan Epic BoEs'),
(16424, 1532000, 1532000, 0.4, 'Spectral Sentry - Karazhan Epic BoEs'),
(16425, 1532000, 1532000, 0.4, 'Phantom Guardsman - Karazhan Epic BoEs'),
(16525, 1532000, 1532000, 1, 'Spell Shade - Karazhan Epic BoEs'),
(16530, 1532000, 1532000, 0.4, 'Mana Warp - Karazhan Epic BoEs'),
(16540, 1532000, 1532000, 1, 'Shadow Pillager - Karazhan Epic BoEs'),
(16410, 1532000, 1532000, 0.4, 'Spectral Retainer - Karazhan Epic BoEs'),
(16414, 1532000, 1532000, 0.4, 'Ghostly Steward - Karazhan Epic BoEs'),
(16459, 1532000, 1532000, 0.4, 'Wanton Hostess - Karazhan Epic BoEs'),
(16460, 1532000, 1532000, 0.4, 'Night Mistress - Karazhan Epic BoEs'),
(16461, 1532000, 1532000, 0.4, 'Concubine - Karazhan Epic BoEs'),
(16470, 1532000, 1532000, 0.4, 'Ghostly Philanthropist - Karazhan Epic BoEs'),
(16473, 1532000, 1532000, 0.4, 'Spectral Performer - Karazhan Epic BoEs'),
(16489, 1532000, 1532000, 1, 'Chaotic Sentience - Karazhan Epic BoEs'),
(16526, 1532000, 1532000, 1, 'Sorcerous Shade - Karazhan Epic BoEs'),
(16529, 1532000, 1532000, 0.4, 'Magical Horror - Karazhan Epic BoEs'),
(16544, 1532000, 1532000, 1, 'Ethereal Thief - Karazhan Epic BoEs'),
(15547, 1532000, 1532000, 0.4, 'Spectral Charger - Karazhan Epic BoEs'),
(15548, 1532000, 1532000, 0.4, 'Spectral Stallion - Karazhan Epic BoEs'),
(16408, 1532000, 1532000, 0.4, 'Phantom Valet - Karazhan Epic BoEs'),
(16472, 1532000, 1532000, 0.4, 'Phantom Stagehand - Karazhan Epic BoEs'),
(16481, 1532000, 1532000, 1, 'Ghastly Haunt - Karazhan Epic BoEs'),
(16482, 1532000, 1532000, 1, 'Trapped Soul - Karazhan Epic BoEs'),
(16545, 1532000, 1532000, 1, 'Ethereal Spellfilcher - Karazhan Epic BoEs'),
(16595, 1532000, 1532000, 1, 'Fleshbeast - Karazhan Epic BoEs'),
(16471, 1532000, 1532000, 0.4, 'Skeletal Usher - Karazhan Epic BoEs'),
(16485, 1532000, 1532000, 2, 'Arcane Watchman - Karazhan Epic BoEs'),
(16504, 1532000, 1532000, 2, 'Arcane Protector - Karazhan Epic BoEs'),
(16596, 1532000, 1532000, 2, 'Greater Fleshbeast - Karazhan Epic BoEs');
-- SSC
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1548000);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1548000, 30021, 0, 0, 0, 1, 1, 1, 1, 'Wildfury Greatstaff'),
(1548000, 30022, 0, 0, 0, 1, 1, 1, 1, 'Pendant of the Perilous'),
(1548000, 30023, 0, 0, 0, 1, 1, 1, 1, 'Totem of the Maelstrom'),
(1548000, 30027, 0, 0, 0, 1, 1, 1, 1, 'Boots of Courage Unending'),
(1548000, 30620, 0, 0, 0, 1, 1, 1, 1, 'Spyglass of the Hidden Fleet');
DELETE FROM `creature_loot_template` WHERE `Item` IN (30021,30022,30023,30027,30620) AND `Entry` IN (21263,21246,21863,21220,21224,21225,21226,21227,21228,21229,21230,21231,21232,21298,21299,21301,21339,21218,21221,21251);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1548000 AND `Entry` IN (21263,21246,21863,21220,21224,21225,21226,21227,21228,21229,21230,21231,21232,21298,21299,21301,21339,21218,21221,21251);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(21263, 1548000, 1548000, 1, 'Greyheart Technician - Serpentshrine Cavern BoEs'),
(21246, 1548000, 1548000, 2, 'Serpentshrine Sporebat - Serpentshrine Cavern BoEs'),
(21863, 1548000, 1548000, 2, 'Serpentshrine Lurker - Serpentshrine Cavern BoEs'),
(21220, 1548000, 1548000, 2, 'Coilfang Priestess - Serpentshrine Cavern BoEs'),
(21224, 1548000, 1548000, 2, 'Tidewalker Depth-Seer - Serpentshrine Cavern BoEs'),
(21225, 1548000, 1548000, 2, 'Tidewalker Warrior - Serpentshrine Cavern BoEs'),
(21226, 1548000, 1548000, 2, 'Tidewalker Shaman - Serpentshrine Cavern BoEs'),
(21227, 1548000, 1548000, 2, 'Tidewalker Harpooner - Serpentshrine Cavern BoEs'),
(21228, 1548000, 1548000, 2, 'Tidewalker Hydromancer - Serpentshrine Cavern BoEs'),
(21229, 1548000, 1548000, 2, 'Greyheart Tidecaller - Serpentshrine Cavern BoEs'),
(21230, 1548000, 1548000, 2, 'Greyheart Nether-Mage - Serpentshrine Cavern BoEs'),
(21231, 1548000, 1548000, 2, 'Greyheart Shield-Bearer - Serpentshrine Cavern BoEs'),
(21232, 1548000, 1548000, 2, 'Greyheart Skulker - Serpentshrine Cavern BoEs'),
(21298, 1548000, 1548000, 2, 'Coilfang Serpentguard - Serpentshrine Cavern BoEs'),
(21299, 1548000, 1548000, 2, 'Coilfang Fathom-Witch - Serpentshrine Cavern BoEs'),
(21301, 1548000, 1548000, 2, 'Coilfang Shatterer - Serpentshrine Cavern BoEs'),
(21339, 1548000, 1548000, 2, 'Coilfang Hate-Screamer - Serpentshrine Cavern BoEs'),
(21218, 1548000, 1548000, 2, 'Vashj\'ir Honor Guard - Serpentshrine Cavern BoEs'),
(21221, 1548000, 1548000, 2, 'Coilfang Beast-Tamer - Serpentshrine Cavern BoEs'),
(21251, 1548000, 1548000, 5, 'Underbog Colossus - Serpentshrine Cavern BoEs');
-- The Eye
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1550000);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1550000, 30029, 0, 0, 0, 1, 1, 1, 1, 'Bark-Gloves of Ancient Wisdom'),
(1550000, 30020, 0, 0, 0, 1, 1, 1, 1, 'Fire-Cord of the Magus'),
(1550000, 30030, 0, 0, 0, 1, 1, 1, 1, 'Girdle of Fallen Stars'),
(1550000, 30024, 0, 0, 0, 1, 1, 1, 1, 'Mantle of the Elven Kings'),
(1550000, 30026, 0, 0, 0, 1, 1, 1, 1, 'Bands of the Celestial Archer'),
(1550000, 30028, 0, 0, 0, 1, 1, 1, 1, 'Seventh Ring of the Tirisfalen');
DELETE FROM `creature_loot_template` WHERE `Reference` = 55500 AND `Entry` IN (20043,20044,20038,20031,20033,20034,20036,20037,20042,20047,20048,20052,20032,20035,20041,20045,20046,20049,20050,20039,20040);
DELETE FROM `creature_loot_template` WHERE `Item` IN (30029,30020,30030,30024,30026,30028) AND `Entry` IN (20043,20044,20038,20031,20033,20034,20036,20037,20042,20047,20048,20052,20032,20035,20041,20045,20046,20049,20050,20039,20040);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1550000 AND `Entry` IN (20043,20044,20038,20031,20033,20034,20036,20037,20042,20047,20048,20052,20032,20035,20041,20045,20046,20049,20050,20039,20040);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(20043, 1550000, 1550000, 0.4, 'Apprentice Star Scryer - The Eye BoEs'),
(20044, 1550000, 1550000, 0.4, 'Novice Astromancer - The Eye BoEs'),
(20038, 1550000, 1550000, 2, 'Phoenix-Hawk Hatchling - The Eye BoEs'),
(20031, 1550000, 1550000, 2, 'Bloodwarder Legionnaire - The Eye BoEs'),
(20033, 1550000, 1550000, 2, 'Astromancer - The Eye BoEs'),
(20034, 1550000, 1550000, 2, 'Star Scryer - The Eye BoEs'),
(20036, 1550000, 1550000, 2, 'Bloodwarder Squire - The Eye BoEs'),
(20037, 1550000, 1550000, 2, 'Tempest Falconer - The Eye BoEs'),
(20042, 1550000, 1550000, 2, 'Tempest-Smith - The Eye BoEs'),
-- (20047, 1550000, 1550000, 2, 'Crimson Hand Battle Mage - The Eye BoEs'),
(20048, 1550000, 1550000, 2, 'Crimson Hand Centurion - The Eye BoEs'),
(20052, 1550000, 1550000, 2, 'Crystalcore Mechanic - The Eye BoEs'),
(20032, 1550000, 1550000, 2, 'Bloodwarder Vindicator - The Eye BoEs'),
(20035, 1550000, 1550000, 2, 'Bloodwarder Marshal - The Eye BoEs'),
(20041, 1550000, 1550000, 2, 'Crystalcore Sentinel - The Eye BoEs'),
(20045, 1550000, 1550000, 2, 'Nether Scryer - The Eye BoEs'),
(20046, 1550000, 1550000, 2, 'Astromancer Lord - The Eye BoEs'),
(20049, 1550000, 1550000, 2, 'Crimson Hand Blood Knight - The Eye BoEs'),
(20050, 1550000, 1550000, 2, 'Crimson Hand Inquisitor - The Eye BoEs'),
(20039, 1550000, 1550000, 5, 'Phoenix-Hawk - The Eye BoEs'),
(20040, 1550000, 1550000, 5, 'Crystalcore Devastator - The Eye BoEs');
-- Phase 2 Recipes
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1548001);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1548001, 30280, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Belt of Blasting'),
(1548001, 30281, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Belt of the Long Road'),
(1548001, 30282, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Boots of Blasting'),
(1548001, 30283, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Boots of the Long Road'),
(1548001, 30301, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Belt of Natural Power'),
(1548001, 30302, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Belt of Deep Shadow'),
(1548001, 30303, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Belt of the Black Eagle'),
(1548001, 30304, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Monsoon Belt'),
(1548001, 30305, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Boots of Natural Grace'),
(1548001, 30306, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Boots of Utter Darkness'),
(1548001, 30307, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Boots of the Crimson Hawk'),
(1548001, 30308, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Hurricane Boots'),
(1548001, 30321, 0, 0, 0, 1, 1, 1, 1, 'Plans: Belt of the Guardian'),
(1548001, 30322, 0, 0, 0, 1, 1, 1, 1, 'Plans: Red Belt of Battle'),
(1548001, 30323, 0, 0, 0, 1, 1, 1, 1, 'Plans: Boots of the Protector'),
(1548001, 30324, 0, 0, 0, 1, 1, 1, 1, 'Plans: Red Havoc Boots');
DELETE FROM `creature_loot_template` WHERE `Reference` = 34052 AND `Entry` IN (21263,21246,21863,21220,21224,21225,21226,21227,21228,21229,21230,21231,21232,21298,21299,21301,21339,21218,21221,21251,20043,20044,20038,20031,20033,20034,20036,20037,20042,20047,20048,20052,20032,20035,20041,20045,20046,20049,20050,20039,20040);
DELETE FROM `creature_loot_template` WHERE `Item` IN (30280,30281,30282,30283,30301,30302,30303,30304,30305,30306,30307,30308,30321,30322,30323,30324) AND `Entry` IN (21263,21246,21863,21220,21224,21225,21226,21227,21228,21229,21230,21231,21232,21298,21299,21301,21339,21218,21221,21251,20043,20044,20038,20031,20033,20034,20036,20037,20042,20047,20048,20052,20032,20035,20041,20045,20046,20049,20050,20039,20040);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1548001 AND `Entry` IN (21263,21246,21863,21220,21224,21225,21226,21227,21228,21229,21230,21231,21232,21298,21299,21301,21339,21218,21221,21251,20043,20044,20038,20031,20033,20034,20036,20037,20042,20047,20048,20052,20032,20035,20041,20045,20046,20049,20050,20039,20040);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(21263, 1548001, 1548001, 0.4, 'Greyheart Technician - TBC Phase 2 BoE Recipes'),
(21246, 1548001, 1548001, 2.4, 'Serpentshrine Sporebat - TBC Phase 2 BoE Recipes'),
(21863, 1548001, 1548001, 2.4, 'Serpentshrine Lurker - TBC Phase 2 BoE Recipes'),
(21220, 1548001, 1548001, 2.4, 'Coilfang Priestess - TBC Phase 2 BoE Recipes'),
(21224, 1548001, 1548001, 2.4, 'Tidewalker Depth-Seer - TBC Phase 2 BoE Recipes'),
(21225, 1548001, 1548001, 2.4, 'Tidewalker Warrior - TBC Phase 2 BoE Recipes'),
(21226, 1548001, 1548001, 2.4, 'Tidewalker Shaman - TBC Phase 2 BoE Recipes'),
(21227, 1548001, 1548001, 2.4, 'Tidewalker Harpooner - TBC Phase 2 BoE Recipes'),
(21228, 1548001, 1548001, 2.4, 'Tidewalker Hydromancer - TBC Phase 2 BoE Recipes'),
(21229, 1548001, 1548001, 2.4, 'Greyheart Tidecaller - TBC Phase 2 BoE Recipes'),
(21230, 1548001, 1548001, 2.4, 'Greyheart Nether-Mage - TBC Phase 2 BoE Recipes'),
(21231, 1548001, 1548001, 2.4, 'Greyheart Shield-Bearer - TBC Phase 2 BoE Recipes'),
(21232, 1548001, 1548001, 2.4, 'Greyheart Skulker - TBC Phase 2 BoE Recipes'),
(21298, 1548001, 1548001, 2.4, 'Coilfang Serpentguard - TBC Phase 2 BoE Recipes'),
(21299, 1548001, 1548001, 2.4, 'Coilfang Fathom-Witch - TBC Phase 2 BoE Recipes'),
(21301, 1548001, 1548001, 2.4, 'Coilfang Shatterer - TBC Phase 2 BoE Recipes'),
(21339, 1548001, 1548001, 2.4, 'Coilfang Hate-Screamer - TBC Phase 2 BoE Recipes'),
(21218, 1548001, 1548001, 2.4, 'Vashj\'ir Honor Guard - TBC Phase 2 BoE Recipes'),
(21221, 1548001, 1548001, 2.4, 'Coilfang Beast-Tamer - TBC Phase 2 BoE Recipes'),
(21251, 1548001, 1548001, 2.4, 'Underbog Colossus - TBC Phase 2 BoE Recipes'),
(20043, 1548001, 1548001, 0.4, 'Apprentice Star Scryer - TBC Phase 2 BoE Recipes'),
(20044, 1548001, 1548001, 0.4, 'Novice Astromancer - TBC Phase 2 BoE Recipes'),
(20038, 1548001, 1548001, 2.4, 'Phoenix-Hawk Hatchling - TBC Phase 2 BoE Recipes'),
(20031, 1548001, 1548001, 2.4, 'Bloodwarder Legionnaire - TBC Phase 2 BoE Recipes'),
(20033, 1548001, 1548001, 2.4, 'Astromancer - TBC Phase 2 BoE Recipes'),
(20034, 1548001, 1548001, 2.4, 'Star Scryer - TBC Phase 2 BoE Recipes'),
(20036, 1548001, 1548001, 2.4, 'Bloodwarder Squire - TBC Phase 2 BoE Recipes'),
(20037, 1548001, 1548001, 2.4, 'Tempest Falconer - TBC Phase 2 BoE Recipes'),
(20042, 1548001, 1548001, 2.4, 'Tempest-Smith - TBC Phase 2 BoE Recipes'),
-- (20047, 1548001, 1548001, 2.4, 'Crimson Hand Battle Mage - TBC Phase 2 BoE Recipes'),
(20048, 1548001, 1548001, 2.4, 'Crimson Hand Centurion - TBC Phase 2 BoE Recipes'),
(20052, 1548001, 1548001, 2.4, 'Crystalcore Mechanic - TBC Phase 2 BoE Recipes'),
(20032, 1548001, 1548001, 2.4, 'Bloodwarder Vindicator - TBC Phase 2 BoE Recipes'),
(20035, 1548001, 1548001, 2.4, 'Bloodwarder Marshal - TBC Phase 2 BoE Recipes'),
(20041, 1548001, 1548001, 2.4, 'Crystalcore Sentinel - TBC Phase 2 BoE Recipes'),
(20045, 1548001, 1548001, 2.4, 'Nether Scryer - TBC Phase 2 BoE Recipes'),
(20046, 1548001, 1548001, 2.4, 'Astromancer Lord - TBC Phase 2 BoE Recipes'),
(20049, 1548001, 1548001, 2.4, 'Crimson Hand Blood Knight - TBC Phase 2 BoE Recipes'),
(20050, 1548001, 1548001, 2.4, 'Crimson Hand Inquisitor - TBC Phase 2 BoE Recipes'),
(20039, 1548001, 1548001, 2.4, 'Phoenix-Hawk - TBC Phase 2 BoE Recipes'),
(20040, 1548001, 1548001, 2.4, 'Crystalcore Devastator - TBC Phase 2 BoE Recipes');
-- Hyjal Summit
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1534000);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1534000, 32589, 0, 0, 0, 1, 1, 1, 1, 'Hellfire-Encased Pendant'),
(1534000, 32590, 0, 0, 0, 1, 1, 1, 1, 'Nethervoid Cloak'),
(1534000, 32591, 0, 0, 0, 1, 1, 1, 1, 'Choker of Serrated Blades'),
(1534000, 32592, 0, 0, 0, 1, 1, 1, 1, 'Chestguard of Relentless Storms'),
(1534000, 32609, 0, 0, 0, 1, 1, 1, 1, 'Boots of the Divine Light'),
(1534000, 32945, 0, 4.5, 0, 1, 1, 1, 1, 'Fist of Molten Fury'),
(1534000, 32946, 0, 4.5, 0, 1, 1, 1, 1, 'Claw of Molten Fury'),
(1534000, 34009, 0, 0, 0, 1, 1, 1, 1, 'Hammer of Judgement'),
(1534000, 34010, 0, 0, 0, 1, 1, 1, 1, 'Pepe\'s Shroud of Pacification');
DELETE FROM `creature_loot_template` WHERE `Reference` = 39534 AND `Entry` IN (17895,17897,17898,17899,17905,17906,17907,17908,17916);
DELETE FROM `creature_loot_template` WHERE `Item` IN (32589,32590,32591,32592,32609,32945,32946,34009,34010) AND `Entry` IN (17895,17897,17898,17899,17905,17906,17907,17908,17916);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1534000 AND `Entry` IN (17895,17897,17898,17899,17905,17906,17907,17908,17916);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(17895, 1534000, 1534000, 4, 'Ghoul - Hyjal Summit BoEs'),
(17897, 1534000, 1534000, 4, 'Crypt Fiend - Hyjal Summit BoEs'),
(17898, 1534000, 1534000, 4, 'Abomination - Hyjal Summit BoEs'),
(17899, 1534000, 1534000, 4, 'Shadowy Necromancer - Hyjal Summit BoEs'),
(17905, 1534000, 1534000, 4, 'Banshee - Hyjal Summit BoEs'),
(17906, 1534000, 1534000, 4, 'Gargoyle - Hyjal Summit BoEs'),
(17907, 1534000, 1534000, 4, 'Frost Wyrm - Hyjal Summit BoEs'),
(17908, 1534000, 1534000, 4, 'Giant Infernal - Hyjal Summit BoEs'),
(17916, 1534000, 1534000, 4, 'Fel Stalker - Hyjal Summit BoEs');
-- Black Temple
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1564000);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1564000, 32526, 0, 0, 0, 1, 1, 1, 1, 'Band of Devastation'),
(1564000, 32527, 0, 0, 0, 1, 1, 1, 1, 'Ring of Ancient Knowledge'),
(1564000, 32528, 0, 0, 0, 1, 1, 1, 1, 'Blessed Band of Karabor'),
(1564000, 32593, 0, 0, 0, 1, 1, 1, 1, 'Treads of the Den Mother'),
(1564000, 32606, 0, 0, 0, 1, 1, 1, 1, 'Girdle of the Lightbearer'),
(1564000, 32608, 0, 0, 0, 1, 1, 1, 1, 'Pillager\'s Gauntlets'),
(1564000, 32943, 0, 0, 0, 1, 1, 1, 1, 'Swiftsteel Bludgeon'),
(1564000, 34011, 0, 0, 0, 1, 1, 1, 1, 'Illidari Runeshield'),
(1564000, 34012, 0, 0, 0, 1, 1, 1, 1, 'Shroud of the Final Stand');
DELETE FROM `creature_loot_template` WHERE `Reference` = 14099 AND `Entry` IN (22883,22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394);
DELETE FROM `creature_loot_template` WHERE `Item` IN (32526,32527,32528,32593,32606,32608,32943,34011,34012) AND `Entry` IN (22883,22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1564000 AND `Entry` IN (22883,22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(22939, 1564000, 1564000, 0.4, 'Temple Concubine - Black Temple BoEs'),
(22955, 1564000, 1564000, 0.4, 'Charming Courtesan - Black Temple BoEs'),
(22963, 1564000, 1564000, 0.4, 'Bonechewer Worker - Black Temple BoEs'),
(23147, 1564000, 1564000, 0.4, 'Shadowmoon Grunt - Black Temple BoEs'),
(23223, 1564000, 1564000, 0.4, 'Bonechewer Spectator - Black Temple BoEs'),
(23047, 1564000, 1564000, 0.4, 'Shadowmoon Soldier - Black Temple BoEs'),
(22946, 1564000, 1564000, 0.4, 'Shadowmoon War Hound - Black Temple BoEs'),
(22848, 1564000, 1564000, 0.4, 'Storm Fury - Black Temple BoEs'),
(22849, 1564000, 1564000, 0.4, 'Ashtongue Feral Spirit - Black Temple BoEs'),
(22881, 1564000, 1564000, 0.4, 'Aqueous Surger - Black Temple BoEs'),
(22885, 1564000, 1564000, 0.4, 'Dragon Turtle - Black Temple BoEs'),
(23232, 1564000, 1564000, 0.4, 'Mutant War Hound - Black Temple BoEs'),
(22945, 1564000, 1564000, 2, 'Shadowmoon Blood Mage - Black Temple BoEs'),
(22965, 1564000, 1564000, 0.4, 'Enslaved Servant - Black Temple BoEs'),
(23403, 1564000, 1564000, 2, 'Illidari Assassin - Black Temple BoEs'),
(22845, 1564000, 1564000, 2, 'Ashtongue Mystic - Black Temple BoEs'),
(22846, 1564000, 1564000, 2, 'Ashtongue Stormcaller - Black Temple BoEs'),
(22847, 1564000, 1564000, 2, 'Ashtongue Primalist - Black Temple BoEs'),
(22853, 1564000, 1564000, 2, 'Illidari Defiler - Black Temple BoEs'),
(22869, 1564000, 1564000, 2, 'Illidari Boneslicer - Black Temple BoEs'),
(22874, 1564000, 1564000, 2, 'Coilskar Harpooner - Black Temple BoEs'),
(22875, 1564000, 1564000, 2, 'Coilskar Sea-Caller - Black Temple BoEs'),
(22876, 1564000, 1564000, 2, 'Coilskar Soothsayer - Black Temple BoEs'),
(22877, 1564000, 1564000, 2, 'Coilskar Wrangler - Black Temple BoEs'),
(22879, 1564000, 1564000, 2, 'Shadowmoon Reaver - Black Temple BoEs'),
(22882, 1564000, 1564000, 2, 'Shadowmoon Deathshaper - Black Temple BoEs'),
(22959, 1564000, 1564000, 2, 'Spellbound Attendant - Black Temple BoEs'),
(23028, 1564000, 1564000, 2, 'Bonechewer Taskmaster - Black Temple BoEs'),
(23235, 1564000, 1564000, 2, 'Bonechewer Blade Fury - Black Temple BoEs'),
(23236, 1564000, 1564000, 2, 'Bonechewer Shield Disciple - Black Temple BoEs'),
(23237, 1564000, 1564000, 2, 'Bonechewer Blood Prophet - Black Temple BoEs'),
(23339, 1564000, 1564000, 2, 'Illidari Heartseeker - Black Temple BoEs'),
(23374, 1564000, 1564000, 2, 'Ashtongue Stalker - Black Temple BoEs'),
(23400, 1564000, 1564000, 2, 'Illidari Archon - Black Temple BoEs'),
(23402, 1564000, 1564000, 2, 'Illidari Battle-mage - Black Temple BoEs'),
(22960, 1564000, 1564000, 2, 'Dragonmaw Wyrmcaller - Black Temple BoEs'),
(23018, 1564000, 1564000, 2, 'Shadowmoon Houndmaster - Black Temple BoEs'),
(23030, 1564000, 1564000, 2, 'Dragonmaw Sky Stalker - Black Temple BoEs'),
(23172, 1564000, 1564000, 2, 'Hand of Gorefiend - Black Temple BoEs'),
(23330, 1564000, 1564000, 2, 'Dragonmaw Wind Reaver - Black Temple BoEs'),
(22873, 1564000, 1564000, 2, 'Coilskar General - Black Temple BoEs'),
(23337, 1564000, 1564000, 2, 'Illidari Centurion - Black Temple BoEs'),
(23397, 1564000, 1564000, 2, 'Illidari Blood Lord - Black Temple BoEs'),
(22844, 1564000, 1564000, 2, 'Ashtongue Battlelord - Black Temple BoEs'),
(22880, 1564000, 1564000, 2, 'Shadowmoon Champion - Black Temple BoEs'),
(22953, 1564000, 1564000, 2, 'Wrathbone Flayer - Black Temple BoEs'),
(22956, 1564000, 1564000, 2, 'Sister of Pain - Black Temple BoEs'),
(22964, 1564000, 1564000, 2, 'Sister of Pleasure - Black Temple BoEs'),
(23049, 1564000, 1564000, 2, 'Shadowmoon Weapon Master - Black Temple BoEs'),
(23222, 1564000, 1564000, 2, 'Bonechewer Brawler - Black Temple BoEs'),
(23239, 1564000, 1564000, 2, 'Bonechewer Combatant - Black Temple BoEs'),
(22855, 1564000, 1564000, 2, 'Illidari Nightlord - Black Temple BoEs'),
(22878, 1564000, 1564000, 2, 'Aqueous Lord - Black Temple BoEs'),
(22884, 1564000, 1564000, 2, 'Leviathan - Black Temple BoEs'),
(22954, 1564000, 1564000, 2, 'Illidari Fearbringer - Black Temple BoEs'),
(22957, 1564000, 1564000, 2, 'Priestess of Dementia - Black Temple BoEs'),
(22962, 1564000, 1564000, 2, 'Priestess of Delight - Black Temple BoEs'),
(23196, 1564000, 1564000, 2, 'Bonechewer Behemoth - Black Temple BoEs'),
(23394, 1564000, 1564000, 2, 'Promenade Sentinel - Black Temple BoEs');
-- Phase 3 Recipes
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1564001);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1564001, 32736, 0, 0, 0, 1, 1, 1, 1, 'Plans: Swiftsteel Bracers'),
(1564001, 32738, 0, 0, 0, 1, 1, 1, 1, 'Plans: Dawnsteel Bracers'),
(1564001, 32744, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Bracers of Renewed Life'),
(1564001, 32746, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Swiftstrike Bracers'),
(1564001, 32748, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Bindings of Lightning Reflexes'),
(1564001, 32750, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Living Earth Bindings'),
(1564001, 32752, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Swiftheal Wraps'),
(1564001, 32754, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Bracers of Nimble Thought');
DELETE FROM `creature_loot_template` WHERE `Reference` IN (34069, 39534) AND `Entry` IN (22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394,17895,17897,17898,17899,17905,17906,17907,17908,17916);
DELETE FROM `creature_loot_template` WHERE `Item` IN (32736,32738,32744,32746,32748,32750,32752,32754) AND `Entry` IN (22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394,17895,17897,17898,17899,17905,17906,17907,17908,17916);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1564001 AND `Entry` IN (22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394,17895,17897,17898,17899,17905,17906,17907,17908,17916);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(22939, 1564001, 1564001, 0.4, 'Temple Concubine - Phase 3 BoE Recipes'),
(22955, 1564001, 1564001, 0.4, 'Charming Courtesan - Phase 3 BoE Recipes'),
(22963, 1564001, 1564001, 0.4, 'Bonechewer Worker - Phase 3 BoE Recipes'),
(23147, 1564001, 1564001, 0.4, 'Shadowmoon Grunt - Phase 3 BoE Recipes'),
(23223, 1564001, 1564001, 0.4, 'Bonechewer Spectator - Phase 3 BoE Recipes'),
(23047, 1564001, 1564001, 0.4, 'Shadowmoon Soldier - Phase 3 BoE Recipes'),
(22946, 1564001, 1564001, 0.4, 'Shadowmoon War Hound - Phase 3 BoE Recipes'),
(22848, 1564001, 1564001, 0.4, 'Storm Fury - Phase 3 BoE Recipes'),
(22849, 1564001, 1564001, 0.4, 'Ashtongue Feral Spirit - Phase 3 BoE Recipes'),
(22881, 1564001, 1564001, 0.4, 'Aqueous Surger - Phase 3 BoE Recipes'),
(22885, 1564001, 1564001, 0.4, 'Dragon Turtle - Phase 3 BoE Recipes'),
(23232, 1564001, 1564001, 0.4, 'Mutant War Hound - Phase 3 BoE Recipes'),
(22945, 1564001, 1564001, 2.4, 'Shadowmoon Blood Mage - Phase 3 BoE Recipes'),
(22965, 1564001, 1564001, 0.4, 'Enslaved Servant - Phase 3 BoE Recipes'),
(23403, 1564001, 1564001, 2.4, 'Illidari Assassin - Phase 3 BoE Recipes'),
(22845, 1564001, 1564001, 2.4, 'Ashtongue Mystic - Phase 3 BoE Recipes'),
(22846, 1564001, 1564001, 2.4, 'Ashtongue Stormcaller - Phase 3 BoE Recipes'),
(22847, 1564001, 1564001, 2.4, 'Ashtongue Primalist - Phase 3 BoE Recipes'),
(22853, 1564001, 1564001, 2.4, 'Illidari Defiler - Phase 3 BoE Recipes'),
(22869, 1564001, 1564001, 2.4, 'Illidari Boneslicer - Phase 3 BoE Recipes'),
(22874, 1564001, 1564001, 2.4, 'Coilskar Harpooner - Phase 3 BoE Recipes'),
(22875, 1564001, 1564001, 2.4, 'Coilskar Sea-Caller - Phase 3 BoE Recipes'),
(22876, 1564001, 1564001, 2.4, 'Coilskar Soothsayer - Phase 3 BoE Recipes'),
(22877, 1564001, 1564001, 2.4, 'Coilskar Wrangler - Phase 3 BoE Recipes'),
(22879, 1564001, 1564001, 2.4, 'Shadowmoon Reaver - Phase 3 BoE Recipes'),
(22882, 1564001, 1564001, 2.4, 'Shadowmoon Deathshaper - Phase 3 BoE Recipes'),
(22959, 1564001, 1564001, 2.4, 'Spellbound Attendant - Phase 3 BoE Recipes'),
(23028, 1564001, 1564001, 2.4, 'Bonechewer Taskmaster - Phase 3 BoE Recipes'),
(23235, 1564001, 1564001, 2.4, 'Bonechewer Blade Fury - Phase 3 BoE Recipes'),
(23236, 1564001, 1564001, 2.4, 'Bonechewer Shield Disciple - Phase 3 BoE Recipes'),
(23237, 1564001, 1564001, 2.4, 'Bonechewer Blood Prophet - Phase 3 BoE Recipes'),
(23339, 1564001, 1564001, 2.4, 'Illidari Heartseeker - Phase 3 BoE Recipes'),
(23374, 1564001, 1564001, 2.4, 'Ashtongue Stalker - Phase 3 BoE Recipes'),
(23400, 1564001, 1564001, 2.4, 'Illidari Archon - Phase 3 BoE Recipes'),
(23402, 1564001, 1564001, 2.4, 'Illidari Battle-mage - Phase 3 BoE Recipes'),
(22960, 1564001, 1564001, 2.4, 'Dragonmaw Wyrmcaller - Phase 3 BoE Recipes'),
(23018, 1564001, 1564001, 2.4, 'Shadowmoon Houndmaster - Phase 3 BoE Recipes'),
(23030, 1564001, 1564001, 2.4, 'Dragonmaw Sky Stalker - Phase 3 BoE Recipes'),
(23172, 1564001, 1564001, 2.4, 'Hand of Gorefiend - Phase 3 BoE Recipes'),
(23330, 1564001, 1564001, 2.4, 'Dragonmaw Wind Reaver - Phase 3 BoE Recipes'),
(22873, 1564001, 1564001, 2.4, 'Coilskar General - Phase 3 BoE Recipes'),
(23337, 1564001, 1564001, 2.4, 'Illidari Centurion - Phase 3 BoE Recipes'),
(23397, 1564001, 1564001, 2.4, 'Illidari Blood Lord - Phase 3 BoE Recipes'),
(22844, 1564001, 1564001, 2.4, 'Ashtongue Battlelord - Phase 3 BoE Recipes'),
(22880, 1564001, 1564001, 2.4, 'Shadowmoon Champion - Phase 3 BoE Recipes'),
(22953, 1564001, 1564001, 2.4, 'Wrathbone Flayer - Phase 3 BoE Recipes'),
(22956, 1564001, 1564001, 2.4, 'Sister of Pain - Phase 3 BoE Recipes'),
(22964, 1564001, 1564001, 2.4, 'Sister of Pleasure - Phase 3 BoE Recipes'),
(23049, 1564001, 1564001, 2.4, 'Shadowmoon Weapon Master - Phase 3 BoE Recipes'),
(23222, 1564001, 1564001, 2.4, 'Bonechewer Brawler - Phase 3 BoE Recipes'),
(23239, 1564001, 1564001, 2.4, 'Bonechewer Combatant - Phase 3 BoE Recipes'),
(22855, 1564001, 1564001, 2.4, 'Illidari Nightlord - Phase 3 BoE Recipes'),
(22878, 1564001, 1564001, 2.4, 'Aqueous Lord - Phase 3 BoE Recipes'),
(22884, 1564001, 1564001, 2.4, 'Leviathan - Phase 3 BoE Recipes'),
(22954, 1564001, 1564001, 2.4, 'Illidari Fearbringer - Phase 3 BoE Recipes'),
(22957, 1564001, 1564001, 2.4, 'Priestess of Dementia - Phase 3 BoE Recipes'),
(22962, 1564001, 1564001, 2.4, 'Priestess of Delight - Phase 3 BoE Recipes'),
(23196, 1564001, 1564001, 2.4, 'Bonechewer Behemoth - Phase 3 BoE Recipes'),
(23394, 1564001, 1564001, 2.4, 'Promenade Sentinel - Phase 3 BoE Recipes'),
(17895, 1564001, 1564001, 2.4, 'Ghoul - Phase 3 BoE Recipes'),
(17897, 1564001, 1564001, 2.4, 'Crypt Fiend - Phase 3 BoE Recipes'),
(17898, 1564001, 1564001, 2.4, 'Abomination - Phase 3 BoE Recipes'),
(17899, 1564001, 1564001, 2.4, 'Shadowy Necromancer - Phase 3 BoE Recipes'),
(17905, 1564001, 1564001, 2.4, 'Banshee - Phase 3 BoE Recipes'),
(17906, 1564001, 1564001, 2.4, 'Gargoyle - Phase 3 BoE Recipes'),
(17907, 1564001, 1564001, 2.4, 'Frost Wyrm - Phase 3 BoE Recipes'),
(17908, 1564001, 1564001, 2.4, 'Giant Infernal - Phase 3 BoE Recipes'),
(17916, 1564001, 1564001, 2.4, 'Fel Stalker - Phase 3 BoE Recipes');
-- Sunwell Plateau
-- Epic BoE
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1580000);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1580000, 34183, 0, 0, 0, 1, 1, 1, 1, 'Shivering Felspine'),
(1580000, 34346, 0, 0, 0, 1, 1, 1, 1, 'Mounting Vengeance'),
(1580000, 34347, 0, 0, 0, 1, 1, 1, 1, 'Wand of the Demonsoul'),
(1580000, 34348, 0, 0, 0, 1, 1, 1, 1, 'Wand of Cleansing Light'),
(1580000, 34349, 0, 0, 0, 1, 1, 1, 1, 'Blade of Life\'s Inevitability'),
(1580000, 34350, 0, 0, 0, 1, 1, 1, 1, 'Gauntlets of the Ancient Shadowmoon'),
(1580000, 34351, 0, 0, 0, 1, 1, 1, 1, 'Tranquil Majesty Wraps'),
(1580000, 35733, 0, 0, 0, 1, 1, 1, 1, 'Ring of Harmonic Beauty');
DELETE FROM `creature_loot_template` WHERE `Reference` = 34094 AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
DELETE FROM `creature_loot_template` WHERE `Item` IN (34183,34346,34347,34348,34349,34350,34351,35733) AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1580000 AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(25867, 1580000, 1580000, 2, 'Sunblade Dragonhawk - Sunwell Plateau BoEs'),
-- (25363, 1580000, 1580000, 2, 'Sunblade Cabalist - Sunwell Plateau BoEs'),
-- (25367, 1580000, 1580000, 2, 'Sunblade Arch Mage - Sunwell Plateau BoEs'),
-- (25368, 1580000, 1580000, 2, 'Sunblade Slayer - Sunwell Plateau BoEs'),
-- (25369, 1580000, 1580000, 2, 'Sunblade Vindicator - Sunwell Plateau BoEs'),
-- (25370, 1580000, 1580000, 2, 'Sunblade Dusk Priest - Sunwell Plateau BoEs'),
-- (25371, 1580000, 1580000, 2, 'Sunblade Dawn Priest - Sunwell Plateau BoEs'),
-- (25483, 1580000, 1580000, 2, 'Shadowsword Manafiend - Sunwell Plateau BoEs'),
-- (25484, 1580000, 1580000, 2, 'Shadowsword Assassin - Sunwell Plateau BoEs'),
-- (25486, 1580000, 1580000, 2, 'Shadowsword Vanquisher - Sunwell Plateau BoEs'),
-- (25506, 1580000, 1580000, 2, 'Shadowsword Lifeshaper - Sunwell Plateau BoEs'),
-- (25509, 1580000, 1580000, 2, 'Priestess of Torment - Sunwell Plateau BoEs'),
-- (25591, 1580000, 1580000, 2, 'Painbringer - Sunwell Plateau BoEs'),
-- (25597, 1580000, 1580000, 2, 'Oblivion Mage - Sunwell Plateau BoEs'),
-- (25837, 1580000, 1580000, 2, 'Shadowsword Commander - Sunwell Plateau BoEs'),
-- (25592, 1580000, 1580000, 2, 'Doomfire Destroyer - Sunwell Plateau BoEs'),
(25593, 1580000, 1580000, 2, 'Apocalypse Guard - Sunwell Plateau BoEs'),
-- (25507, 1580000, 1580000, 2, 'Sunblade Protector - Sunwell Plateau BoEs'),
(25595, 1580000, 1580000, 2, 'Chaos Gazer - Sunwell Plateau BoEs'),
(25599, 1580000, 1580000, 2, 'Cataclysm Hound - Sunwell Plateau BoEs');
-- SWP Recipes
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1580001);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1580001, 35186, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Annihilator Holo-Gogs'),
(1580001, 35187, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Justicebringer 3000 Specs'),
(1580001, 35189, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Powerheal 9000 Lens'),
(1580001, 35190, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Hyper-Magnified Moon'),
(1580001, 35191, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Wonderheal XT68 Shades'),
(1580001, 35192, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Primal-Attuned Goggles'),
(1580001, 35193, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Lightning Etched Specs'),
(1580001, 35194, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Surestrike Goggles v3.0'),
(1580001, 35195, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Mayhem Projection Goggles'),
(1580001, 35196, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Hard Khorium Goggles'),
(1580001, 35197, 0, 0, 0, 1, 1, 1, 1, 'Schematic: Quad Deathblow X44 Goggles'),
(1580001, 35201, 0, 0, 0, 1, 1, 1, 1, 'Design: Pendant of Sunfire'),
(1580001, 35202, 0, 0, 0, 1, 1, 1, 1, 'Design: Amulet of Flowing Life'),
(1580001, 35203, 0, 0, 0, 1, 1, 1, 1, 'Design: Hard Khorium Choker'),
(1580001, 35206, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Sunfire Robe'),
(1580001, 35207, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Robe of Eternal Light'),
(1580001, 35210, 0, 0, 0, 1, 1, 1, 1, 'Plans: Sunblessed Breastplate'),
(1580001, 35211, 0, 0, 0, 1, 1, 1, 1, 'Plans: Hard Khorium Battleplate'),
(1580001, 35216, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Leather Chestguard of the Sun'),
(1580001, 35217, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Embrace of the Phoenix'),
(1580001, 35218, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Carapace of Sun and Shadow'),
(1580001, 35219, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Sun-Drenched Scale Chestguard'),
(1580001, 35198, 0, 0, 0, 1, 1, 1, 1, 'Design: Loop of Forged Power'),
(1580001, 35199, 0, 0, 0, 1, 1, 1, 1, 'Design: Ring of Flowing Life'),
(1580001, 35200, 0, 0, 0, 1, 1, 1, 1, 'Design: Hard Khorium Band'),
(1580001, 35204, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Sunfire Handwraps'),
(1580001, 35205, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Hands of Eternal Light'),
(1580001, 35208, 0, 0, 0, 1, 1, 1, 1, 'Plans: Sunblessed Gauntlets'),
(1580001, 35209, 0, 0, 0, 1, 1, 1, 1, 'Plans: Hard Khorium Battlefists'),
(1580001, 35212, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Leather Gauntlets of the Sun'),
(1580001, 35213, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Fletcher\'s Gloves of the Phoenix'),
(1580001, 35214, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Gloves of Immortal Dusk'),
(1580001, 35215, 0, 0, 0, 1, 1, 1, 1, 'Pattern: Sun-Drenched Scale Gloves'),
(1580001, 35273, 0, 0, 0, 1, 1, 1, 1, 'Study of Advanced Smelting');
DELETE FROM `creature_loot_template` WHERE `Reference` = 34091 AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
DELETE FROM `creature_loot_template` WHERE `Item` IN (35186,35187,35189,35190,35191,35192,35193,35194,35195,35196,35197,35201,35202,35203,35206,35207,35210,35211,35216,35217,35218,35219,35198,35199,35200,35204,35205,35208,35209,35212,35213,35214,35215,35273) AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1580001 AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(25867, 1580001, 1580001, 1, 'Sunblade Dragonhawk - Sunwell Plateau Recipes'),
-- (25363, 1580001, 1580001, 1, 'Sunblade Cabalist - Sunwell Plateau Recipes'),
-- (25367, 1580001, 1580001, 1, 'Sunblade Arch Mage - Sunwell Plateau Recipes'),
-- (25368, 1580001, 1580001, 1, 'Sunblade Slayer - Sunwell Plateau Recipes'),
-- (25369, 1580001, 1580001, 1, 'Sunblade Vindicator - Sunwell Plateau Recipes'),
-- (25370, 1580001, 1580001, 1, 'Sunblade Dusk Priest - Sunwell Plateau Recipes'),
-- (25371, 1580001, 1580001, 1, 'Sunblade Dawn Priest - Sunwell Plateau Recipes'),
-- (25483, 1580001, 1580001, 1, 'Shadowsword Manafiend - Sunwell Plateau Recipes'),
-- (25484, 1580001, 1580001, 1, 'Shadowsword Assassin - Sunwell Plateau Recipes'),
-- (25486, 1580001, 1580001, 1, 'Shadowsword Vanquisher - Sunwell Plateau Recipes'),
-- (25506, 1580001, 1580001, 1, 'Shadowsword Lifeshaper - Sunwell Plateau Recipes'),
-- (25509, 1580001, 1580001, 1, 'Priestess of Torment - Sunwell Plateau Recipes'),
-- (25591, 1580001, 1580001, 1, 'Painbringer - Sunwell Plateau Recipes'),
-- (25597, 1580001, 1580001, 1, 'Oblivion Mage - Sunwell Plateau Recipes'),
-- (25837, 1580001, 1580001, 1, 'Shadowsword Commander - Sunwell Plateau Recipes'),
-- (25592, 1580001, 1580001, 1, 'Doomfire Destroyer - Sunwell Plateau Recipes'),
(25593, 1580001, 1580001, 1, 'Apocalypse Guard - Sunwell Plateau Recipes'),
-- (25507, 1580001, 1580001, 1, 'Sunblade Protector - Sunwell Plateau Recipes'),
(25595, 1580001, 1580001, 1, 'Chaos Gazer - Sunwell Plateau Recipes'),
(25599, 1580001, 1580001, 1, 'Cataclysm Hound - Sunwell Plateau Recipes');
DELETE FROM `creature_loot_template` WHERE `Item` = 35273 AND `Entry` IN (25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(25867, 35273, 0, 1, 'Sunblade Dragonhawk - Study of Advanced Smelting'),
-- (25363, 35273, 0, 1, 'Sunblade Cabalist - Study of Advanced Smelting'),
-- (25367, 35273, 0, 1, 'Sunblade Arch Mage - Study of Advanced Smelting'),
-- (25368, 35273, 0, 1, 'Sunblade Slayer - Study of Advanced Smelting'),
-- (25369, 35273, 0, 1, 'Sunblade Vindicator - Study of Advanced Smelting'),
-- (25370, 35273, 0, 1, 'Sunblade Dusk Priest - Study of Advanced Smelting'),
-- (25371, 35273, 0, 1, 'Sunblade Dawn Priest - Study of Advanced Smelting'),
-- (25483, 35273, 0, 1, 'Shadowsword Manafiend - Study of Advanced Smelting'),
-- (25484, 35273, 0, 1, 'Shadowsword Assassin - Study of Advanced Smelting'),
-- (25486, 35273, 0, 1, 'Shadowsword Vanquisher - Study of Advanced Smelting'),
-- (25506, 35273, 0, 1, 'Shadowsword Lifeshaper - Study of Advanced Smelting'),
-- (25509, 35273, 0, 1, 'Priestess of Torment - Study of Advanced Smelting'),
-- (25591, 35273, 0, 1, 'Painbringer - Study of Advanced Smelting'),
-- (25597, 35273, 0, 1, 'Oblivion Mage - Study of Advanced Smelting'),
-- (25837, 35273, 0, 1, 'Shadowsword Commander - Study of Advanced Smelting'),
-- (25592, 35273, 0, 1, 'Doomfire Destroyer - Study of Advanced Smelting'),
(25593, 35273, 0, 1, 'Apocalypse Guard - Study of Advanced Smelting'),
-- (25507, 35273, 0, 1, 'Sunblade Protector - Study of Advanced Smelting'),
(25595, 35273, 0, 1, 'Chaos Gazer - Study of Advanced Smelting'),
(25599, 35273, 0, 1, 'Cataclysm Hound - Study of Advanced Smelting');
-- BT + SWP Gems
DELETE FROM `reference_loot_template` WHERE (`Entry` = 1564002);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(1564002, 32227, 0, 0, 0, 1, 1, 1, 1, 'Crimson Spinel'),
(1564002, 32228, 0, 0, 0, 1, 1, 1, 1, 'Empyrean Sapphire'),
(1564002, 32229, 0, 0, 0, 1, 1, 1, 1, 'Lionseye'),
(1564002, 32230, 0, 0, 0, 1, 1, 1, 1, 'Shadowsong Amethyst'),
(1564002, 32231, 0, 0, 0, 1, 1, 1, 1, 'Pyrestone'),
(1564002, 32249, 0, 0, 0, 1, 1, 1, 1, 'Seaspray Emerald');
DELETE FROM `creature_loot_template` WHERE `Reference` IN (10005, 12903, 34093) AND `Entry` IN (22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394,25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
DELETE FROM `creature_loot_template` WHERE `Item` IN (32227,32228,32229,32230,32231,32249) AND `Entry` IN (22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394,25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
DELETE FROM `creature_loot_template` WHERE `Reference` = 1564002 AND `Entry` IN (22939,22955,22963,23147,23223,23047,22946,22848,22849,22881,22885,23232,22945,22965,23403,22845,22846,22847,22853,22869,22874,22875,22876,22877,22879,22882,22959,23028,23235,23236,23237,23339,23374,23400,23402,22960,23018,23030,23172,23330,22873,23337,23397,22844,22880,22953,22956,22964,23049,23222,23239,22855,22878,22884,22954,22957,22962,23196,23394,25867,25363,25367,25368,25369,25370,25371,25483,25484,25486,25506,25509,25591,25597,25837,25592,25593,25507,25595,25599);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES
(22939, 1564002, 1564002, 3, 'Temple Concubine - TBC Epic Gems'),
(22955, 1564002, 1564002, 3, 'Charming Courtesan - TBC Epic Gems'),
(22963, 1564002, 1564002, 3, 'Bonechewer Worker - TBC Epic Gems'),
(23147, 1564002, 1564002, 3, 'Shadowmoon Grunt - TBC Epic Gems'),
(23223, 1564002, 1564002, 3, 'Bonechewer Spectator - TBC Epic Gems'),
(23047, 1564002, 1564002, 3, 'Shadowmoon Soldier - TBC Epic Gems'),
(22946, 1564002, 1564002, 3, 'Shadowmoon War Hound - TBC Epic Gems'),
(22848, 1564002, 1564002, 3, 'Storm Fury - TBC Epic Gems'),
(22849, 1564002, 1564002, 3, 'Ashtongue Feral Spirit - TBC Epic Gems'),
(22881, 1564002, 1564002, 3, 'Aqueous Surger - TBC Epic Gems'),
(22885, 1564002, 1564002, 3, 'Dragon Turtle - TBC Epic Gems'),
(23232, 1564002, 1564002, 3, 'Mutant War Hound - TBC Epic Gems'),
(22945, 1564002, 1564002, 12, 'Shadowmoon Blood Mage - TBC Epic Gems'),
(22965, 1564002, 1564002, 3, 'Enslaved Servant - TBC Epic Gems'),
(23403, 1564002, 1564002, 12, 'Illidari Assassin - TBC Epic Gems'),
(22845, 1564002, 1564002, 12, 'Ashtongue Mystic - TBC Epic Gems'),
(22846, 1564002, 1564002, 12, 'Ashtongue Stormcaller - TBC Epic Gems'),
(22847, 1564002, 1564002, 12, 'Ashtongue Primalist - TBC Epic Gems'),
(22853, 1564002, 1564002, 12, 'Illidari Defiler - TBC Epic Gems'),
(22869, 1564002, 1564002, 12, 'Illidari Boneslicer - TBC Epic Gems'),
(22874, 1564002, 1564002, 12, 'Coilskar Harpooner - TBC Epic Gems'),
(22875, 1564002, 1564002, 12, 'Coilskar Sea-Caller - TBC Epic Gems'),
(22876, 1564002, 1564002, 12, 'Coilskar Soothsayer - TBC Epic Gems'),
(22877, 1564002, 1564002, 12, 'Coilskar Wrangler - TBC Epic Gems'),
(22879, 1564002, 1564002, 12, 'Shadowmoon Reaver - TBC Epic Gems'),
(22882, 1564002, 1564002, 12, 'Shadowmoon Deathshaper - TBC Epic Gems'),
(22959, 1564002, 1564002, 12, 'Spellbound Attendant - TBC Epic Gems'),
(23028, 1564002, 1564002, 12, 'Bonechewer Taskmaster - TBC Epic Gems'),
(23235, 1564002, 1564002, 12, 'Bonechewer Blade Fury - TBC Epic Gems'),
(23236, 1564002, 1564002, 12, 'Bonechewer Shield Disciple - TBC Epic Gems'),
(23237, 1564002, 1564002, 12, 'Bonechewer Blood Prophet - TBC Epic Gems'),
(23339, 1564002, 1564002, 12, 'Illidari Heartseeker - TBC Epic Gems'),
(23374, 1564002, 1564002, 12, 'Ashtongue Stalker - TBC Epic Gems'),
(23400, 1564002, 1564002, 12, 'Illidari Archon - TBC Epic Gems'),
(23402, 1564002, 1564002, 12, 'Illidari Battle-mage - TBC Epic Gems'),
(22960, 1564002, 1564002, 12, 'Dragonmaw Wyrmcaller - TBC Epic Gems'),
(23018, 1564002, 1564002, 12, 'Shadowmoon Houndmaster - TBC Epic Gems'),
(23030, 1564002, 1564002, 12, 'Dragonmaw Sky Stalker - TBC Epic Gems'),
(23172, 1564002, 1564002, 12, 'Hand of Gorefiend - TBC Epic Gems'),
(23330, 1564002, 1564002, 12, 'Dragonmaw Wind Reaver - TBC Epic Gems'),
(22873, 1564002, 1564002, 12, 'Coilskar General - TBC Epic Gems'),
(23337, 1564002, 1564002, 12, 'Illidari Centurion - TBC Epic Gems'),
(23397, 1564002, 1564002, 12, 'Illidari Blood Lord - TBC Epic Gems'),
(22844, 1564002, 1564002, 12, 'Ashtongue Battlelord - TBC Epic Gems'),
(22880, 1564002, 1564002, 12, 'Shadowmoon Champion - TBC Epic Gems'),
(22953, 1564002, 1564002, 12, 'Wrathbone Flayer - TBC Epic Gems'),
(22956, 1564002, 1564002, 12, 'Sister of Pain - TBC Epic Gems'),
(22964, 1564002, 1564002, 12, 'Sister of Pleasure - TBC Epic Gems'),
(23049, 1564002, 1564002, 12, 'Shadowmoon Weapon Master - TBC Epic Gems'),
(23222, 1564002, 1564002, 12, 'Bonechewer Brawler - TBC Epic Gems'),
(23239, 1564002, 1564002, 12, 'Bonechewer Combatant - TBC Epic Gems'),
(22855, 1564002, 1564002, 12, 'Illidari Nightlord - TBC Epic Gems'),
(22878, 1564002, 1564002, 12, 'Aqueous Lord - TBC Epic Gems'),
(22884, 1564002, 1564002, 12, 'Leviathan - TBC Epic Gems'),
(22954, 1564002, 1564002, 12, 'Illidari Fearbringer - TBC Epic Gems'),
(22957, 1564002, 1564002, 12, 'Priestess of Dementia - TBC Epic Gems'),
(22962, 1564002, 1564002, 12, 'Priestess of Delight - TBC Epic Gems'),
(23196, 1564002, 1564002, 12, 'Bonechewer Behemoth - TBC Epic Gems'),
(23394, 1564002, 1564002, 12, 'Promenade Sentinel - TBC Epic Gems'),
(25867, 1564002, 1564002, 12, 'Sunblade Dragonhawk - TBC Epic Gems'),
-- (25363, 1564002, 1564002, 12, 'Sunblade Cabalist - TBC Epic Gems'),
-- (25367, 1564002, 1564002, 12, 'Sunblade Arch Mage - TBC Epic Gems'),
-- (25368, 1564002, 1564002, 12, 'Sunblade Slayer - TBC Epic Gems'),
-- (25369, 1564002, 1564002, 12, 'Sunblade Vindicator - TBC Epic Gems'),
-- (25370, 1564002, 1564002, 12, 'Sunblade Dusk Priest - TBC Epic Gems'),
-- (25371, 1564002, 1564002, 12, 'Sunblade Dawn Priest - TBC Epic Gems'),
-- (25483, 1564002, 1564002, 12, 'Shadowsword Manafiend - TBC Epic Gems'),
-- (25484, 1564002, 1564002, 12, 'Shadowsword Assassin - TBC Epic Gems'),
-- (25486, 1564002, 1564002, 12, 'Shadowsword Vanquisher - TBC Epic Gems'),
-- (25506, 1564002, 1564002, 12, 'Shadowsword Lifeshaper - TBC Epic Gems'),
-- (25509, 1564002, 1564002, 12, 'Priestess of Torment - TBC Epic Gems'),
-- (25591, 1564002, 1564002, 12, 'Painbringer - TBC Epic Gems'),
-- (25597, 1564002, 1564002, 12, 'Oblivion Mage - TBC Epic Gems'),
-- (25837, 1564002, 1564002, 12, 'Shadowsword Commander - TBC Epic Gems'),
-- (25592, 1564002, 1564002, 12, 'Doomfire Destroyer - TBC Epic Gems'),
(25593, 1564002, 1564002, 12, 'Apocalypse Guard - TBC Epic Gems'),
-- (25507, 1564002, 1564002, 12, 'Sunblade Protector - TBC Epic Gems'),
(25595, 1564002, 1564002, 12, 'Chaos Gazer - TBC Epic Gems'),
(25599, 1564002, 1564002, 12, 'Cataclysm Hound - TBC Epic Gems');
DELETE FROM `reference_loot_template` WHERE `Entry` IN (14099, 34091, 34093, 34094, 39534, 55500);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 1 AND `ConditionTypeOrReference` = 7 AND `SourceEntry` IN (30280,30281,30282,30283,30301,30302,30303,30304,30305,30306,30307,30308,30321,30322,30323,30324,32736,32738,32744,32746,32748,32750,32752,32754);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 10 AND `SourceGroup` = 34091;