|
| 1 | +-- Add your query below. |
| 2 | +-- https://github.com/lh-server/core/commit/55c1470921af24e6f16855f835b5ac9f2b7baf7b |
| 3 | +-- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 4 | +-- https://www.wowhead.com/tbc/item=16883/worn-junkbox#contains |
| 5 | +-- https://web.archive.org/web/20060221031013/http://www.thottbot.com:80/?i=7285 |
| 6 | +-- .learn 1804 .add 5060 .setskill 633 300 .add 16883 100 |
| 7 | +-- update spell_template set castingtimeindex = 1 where id = 1804; |
| 8 | + |
| 9 | +-- Worn Junkbox should contain a few copper. |
| 10 | +UPDATE `item_template` SET `minMoneyLoot`=5, `maxMoneyLoot`=15 WHERE `entry`=16883; |
| 11 | + |
| 12 | +REPLACE INTO `reference_loot_template_names` (`entry`, `name`) VALUES |
| 13 | +(16883, 'Worn Junkbox (16883) - (Daggers, Rings, Patterns, Poisons)'); |
| 14 | + |
| 15 | +DELETE FROM `reference_loot_template` WHERE `entry` = 16883; |
| 16 | +DELETE FROM `reference_loot_template` WHERE `entry` = 16883 AND `groupid` = 1; |
| 17 | +INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`) VALUES |
| 18 | +(16883, 8006, 0, 1), -- https://www.wowhead.com/wotlk/item=8006/the-ziggler#comments:id=2720809 |
| 19 | +(16883, 776, 0, 1); -- https://www.wowhead.com/wotlk/item=16883/worn-junkbox#comments:id=197325 |
| 20 | + |
| 21 | +-- Rings dropped from Worn Junkbox. |
| 22 | +DELETE FROM `reference_loot_template` WHERE `entry` = 16883 AND `groupid` = 2; |
| 23 | +INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES |
| 24 | +(16883, 5003, 0, 2, 1, 1, 0, 'Crystal Starfire Medallion'), -- wowhead |
| 25 | +(16883, 5007, 0, 2, 1, 1, 0, 'Band of Thorns'), -- wowhead + https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 26 | +(16883, 5009, 0, 2, 1, 1, 0, ''), -- vmangos + https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 27 | +(16883, 5011, 0, 2, 1, 1, 0, 'Welken Ring'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 28 | +(16883, 11970, 0, 2, 1, 1, 0, 'Spinel Ring'), -- wowhead + https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 29 | +(16883, 11971, 0, 2, 1, 1, 0, ''), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 30 | +(16883, 11972, 0, 2, 1, 1, 0, 'Carnelian Loop'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 31 | +(16883, 11985, 0, 2, 1, 1, 0, 'Cerulean Ring'), |
| 32 | +(16883, 11986, 0, 2, 1, 1, 0, 'Thallium Hoop'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 33 | +(16883, 11996, 0, 2, 1, 1, 0, 'Basalt Ring'), |
| 34 | +(16883, 11997, 0, 2, 1, 1, 0, 'Greenstone Circle'), -- wowhead |
| 35 | +(16883, 12009, 0, 2, 1, 1, 0, 'Tundra Ring'), |
| 36 | +(16883, 12010, 0, 2, 1, 1, 0, ''), |
| 37 | +(16883, 12019, 0, 2, 1, 1, 0, 'Cerulean Talisman'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 38 | +(16883, 12020, 0, 2, 1, 1, 0, 'Thallium Choker'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 39 | +(16883, 12028, 0, 2, 1, 1, 0, 'Basalt Necklace'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 40 | +(16883, 12029, 0, 2, 1, 1, 0, 'Greenstone Talisman'), |
| 41 | +(16883, 12030, 0, 2, 1, 1, 0, 'Jet Chain'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 42 | +(16883, 12039, 0, 2, 1, 1, 0, 'Tundra Necklace'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 43 | +(16883, 12040, 0, 2, 1, 1, 0, 'Forest Pendant'); |
| 44 | + |
| 45 | +-- Recipes dropped from Worn Junkbox. |
| 46 | +DELETE FROM `reference_loot_template` WHERE `entry` = 16883 AND `groupid` = 3; |
| 47 | +INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES |
| 48 | +(16883, 3831, 0, 3, 1, 1, 0, 'Recipe: Mighty Troll\'s Blood Potion'), |
| 49 | +(16883, 3866, 0, 3, 1, 1, 0, 'Plans: Jade Serpentblade'), |
| 50 | +(16883, 3867, 0, 3, 1, 1, 0, 'Plans: Golden Iron Destroyer'), |
| 51 | +(16883, 3868, 0, 3, 1, 1, 0, 'Plans: Frost Tiger Blade'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 52 | +(16883, 3869, 0, 3, 1, 1, 0, 'Plans: Shadow Crescent Axe'), |
| 53 | +(16883, 3870, 0, 3, 1, 1, 0, 'Plans: Green Iron Shoulders'), |
| 54 | +(16883, 3872, 0, 3, 1, 1, 0, 'Plans: Golden Scale Leggings'), |
| 55 | +(16883, 3873, 0, 3, 1, 1, 0, 'Plans: Golden Scale Cuirass'), |
| 56 | +(16883, 3874, 0, 3, 1, 1, 0, 'Plans: Polished Steel Boots'), |
| 57 | +(16883, 4299, 0, 3, 1, 1, 0, 'Pattern: Guardian Armor'), |
| 58 | +(16883, 4300, 0, 3, 1, 1, 0, 'Pattern: Guardian Leather Bracers'), |
| 59 | +(16883, 4353, 0, 3, 1, 1, 0, 'Pattern: Spider Belt'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 60 | +(16883, 4414, 0, 3, 1, 1, 0, 'Schematic: Portable Bronze Mortar'), |
| 61 | +(16883, 4416, 0, 3, 1, 1, 0, 'Schematic: Goblin Land Mine'), |
| 62 | +(16883, 5774, 0, 3, 1, 1, 0, 'Pattern: Green Silk Pack'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 63 | +(16883, 5974, 0, 3, 1, 1, 0, 'Pattern: Guardian Cloak'), |
| 64 | +(16883, 6045, 0, 3, 1, 1, 0, 'Plans: Iron Counterweight'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 65 | +(16883, 7084, 0, 3, 1, 1, 0, 'Pattern: Crimson Silk Shoulders'), |
| 66 | +(16883, 7085, 0, 3, 1, 1, 0, 'Pattern: Azure Shoulders'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 67 | +(16883, 7086, 0, 3, 1, 1, 0, 'Pattern: Earthen Silk Belt'), |
| 68 | +(16883, 7090, 0, 3, 1, 1, 0, 'Pattern: Green Silk Armor'), |
| 69 | +(16883, 7449, 0, 3, 1, 1, 0, 'Pattern: Dusky Leather Leggings'), |
| 70 | +(16883, 7450, 0, 3, 1, 1, 0, 'Pattern: Green Whelp Armor'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 71 | +(16883, 7453, 0, 3, 1, 1, 0, 'Pattern: Swift Boots'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 72 | +(16883, 10601, 0, 3, 1, 1, 0, 'Schematic: Bright-Eye Goggles'), |
| 73 | +(16883, 11164, 0, 3, 1, 1, 0, 'Formula: Enchant Weapon - Lesser Beastslayer'), -- https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 74 | +(16883, 11167, 0, 3, 1, 1, 0, 'Formula: Enchant Boots - Lesser Spirit'), |
| 75 | + |
| 76 | +(16883, 3830, 0, 3, 1, 1, 0, 'Recipe: Elixir of Fortitude'), -- vmangos |
| 77 | +(16883, 3832, 0, 3, 1, 1, 0, 'Recipe: Elixir of Detect Lesser Invisibility'), -- vmangos |
| 78 | +(16883, 4352, 0, 3, 1, 1, 0, 'Pattern: Boots of the Enchanter'), -- vmangos |
| 79 | +(16883, 4417, 0, 3, 1, 1, 0, 'Schematic: Large Seaforium Charge'), -- vmangos - https://web.archive.org/web/20100908090353/http://wow.allakhazam.com:80/db/item.html?witem=16883#Contains_Items |
| 80 | +(16883, 7092, 0, 3, 1, 1, 0, 'Pattern: Hands of Darkness'), -- vmangos |
| 81 | + |
| 82 | +-- tbc+ |
| 83 | +(16883, 20974, 0, 3, 1, 1, 0, 'Design: Jade Pendant of Blasting'), |
| 84 | +(16883, 20976, 0, 3, 1, 1, 0, 'Design: Citrine Pendant of Golden Healing'), |
| 85 | +(16883, 21940, 0, 3, 1, 1, 0, 'Design: Golden Hare'); |
| 86 | + |
| 87 | +DELETE FROM `reference_loot_template` WHERE `entry` = 16883 AND `groupid` = 4; |
| 88 | +INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `comments`) VALUES |
| 89 | +(16883, 2930, 0, 4, 2, 5, 'Essence of Pain'), |
| 90 | +(16883, 2928, 0, 4, 2, 5, 'Dust of Decay'), |
| 91 | +(16883, 8923, 0, 4, 2, 5, 'Essence of Agony'), |
| 92 | +(16883, 5173, 0, 4, 2, 5, 'Deathweed'), |
| 93 | +(16883, 8924, 0, 4, 2, 5, 'Dust of Deterioration'); -- tbc+ |
| 94 | + |
| 95 | +-- wotlk+ |
| 96 | +-- (16883, 3775, 0, 4, 1, 1, ''), |
| 97 | +-- (16883, 2893, 0, 4, 1, 1, ''), |
| 98 | +-- (16883, 10920, 0, 4, 1, 1, ''), |
| 99 | +-- (16883, 5237, 0, 4, 1, 1, ''), |
| 100 | +-- (16883, 6950, 0, 4, 1, 1, ''), |
| 101 | +-- (16883, 10918, 0, 4, 1, 1, ''); |
| 102 | + |
| 103 | +DELETE FROM `item_loot_template` WHERE `entry` = 16883; |
| 104 | +INSERT INTO `item_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES |
| 105 | +(16883, 1710, 10, 0, 1, 1, 0, 'Greater Healing Potion'), -- 9.7% befor -> 11.09% -> 10% |
| 106 | +(16883, 5140, 10, 0, 2, 5, 0, 'Flash Powder'), |
| 107 | +(16883, 5530, 20, 0, 2, 5, 0, 'Blinding Powder'), -- converted to Worthless Blinding Powder in wrath |
| 108 | + |
| 109 | +(16883, 1529, 1, 1, 1, 1, 0, 'Jade'), -- 0.8 |
| 110 | +(16883, 3864, 1, 1, 1, 1, 0, 'Citrine'), -- 1.1 |
| 111 | + |
| 112 | +(16883, 24281, 5, 2, 1, 1, 0, 'Carved Ivory Bone'), |
| 113 | +(16883, 24231, 5, 2, 2, 3, 0, 'Coarse Snuff'), |
| 114 | +(16883, 24232, 5, 2, 2, 2, 0, 'Shabby Knot'), |
| 115 | +(16883, 24282, 1, 2, 1, 1, 0, 'Rogue''s Diary'), |
| 116 | +-- refloot |
| 117 | +(16883, 1, 0.01, 1, -16883, 1, 0, ''), -- daggers |
| 118 | +(16883, 2, 1, 2, -16883, 1, 0, ''), -- rings |
| 119 | +(16883, 3, 1, 3, -16883, 1, 0, ''), -- patterns |
| 120 | +(16883, 4, 100, 4, -16883, 1, 0, ''); -- poison/poison materials |
| 121 | + |
| 122 | +-- End of migration. |
| 123 | + |
0 commit comments