-
-
Save roblabla/cadd49ad913918a785f985139ece2692 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Generated by running the following JS on https://classic.wowhead.com/guides/warlock-dps-gear-bis-classic-wow | |
-- Was run on 18/01/2020, should be available on the wayback machine. | |
-- var itemTypeTable = [ | |
-- "Head", "Neck", "Shoulders", "Back", "Chest", "Wrists", "Hands", "Waist", "Legs", "Feet", "Ring", "Trinkets", "Main Hand", "Off-Hand", "Ranged" | |
-- ]; | |
-- var preBis = $("#tab-phases-phase-2 > div:nth(0)"); | |
-- var bis = $("#tab-phases-phase-2 > div:nth(2)"); | |
-- | |
-- function findBIS(section, global_description) { | |
-- var data = {}; | |
-- | |
-- section.find("table").each(function(itemTypeIdx, table) { | |
-- var item_type = itemTypeTable[itemTypeIdx]; | |
-- console.log("Handling", item_type); | |
-- $(table).find("tr:gt(0)").each(function(idx, item) { | |
-- // Some items have horde/alliance variants, get both! | |
-- var description = $(item).find("td:eq(0)").text().trim() | |
-- $(item).find("td:eq(1) a").each(function(_, item) { | |
-- var item_id = parseInt($(item).attr('href').split("item=")[1].split("/")[0]) | |
-- var item_name = $(item).text() | |
-- data[item_id] = { item_id, item_type, item_name, description: global_description + description }; | |
-- }) | |
-- }) | |
-- }) | |
-- | |
-- return data; | |
-- } | |
-- | |
-- var preBisItems = findBIS(preBis, "Pre-Raid ") | |
-- | |
-- var bisItems = findBIS(bis, "") | |
-- | |
-- var data = 'local bis = ExoLink:RegisterBIS("Warlock", "")\n' | |
-- | |
-- for (let item of Object.values(bisItems)) { | |
-- if (item.description == "Optional" && preBisItems[item.item_id] != null && preBisItems[item.item_id].description != "Pre-Raid Optional") { | |
-- item.description = preBisItems[item.item_id].description | |
-- } | |
-- data += `ExoLink:BISitem(bis, "${item.item_id}", "${item.item_type}", "${item.item_name}", "${item.description}") -- BIS\n`; | |
-- } | |
-- | |
-- for (let item of Object.values(preBisItems)) { | |
-- if (bisItems[item.item_id] == null) { | |
-- data += `ExoLink:BISitem(bis, "${item.item_id}", "${item.item_type}", "${item.item_name}", "${item.description}") -- PREBIS\n`; | |
-- } | |
-- } | |
-- console.log(data) | |
local bis = ExoLink:RegisterBIS("Warlock", "") | |
ExoLink:BISitem(bis, "1980", "Ring", "Underworld Band", "Optional") | |
ExoLink:BISitem(bis, "7553", "Ring", "Band of the Unicorn", "Optional") | |
ExoLink:BISitem(bis, "10247", "Feet", "Master's Boots", "Optional") | |
ExoLink:BISitem(bis, "10248", "Wrists", "Master's Bracers", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "10249", "Back", "Master's Cloak", "Best") | |
ExoLink:BISitem(bis, "10504", "Head", "Green Lens", "Optional") | |
ExoLink:BISitem(bis, "10796", "Off-Hand", "Drakestone", "Optional") | |
ExoLink:BISitem(bis, "11623", "Back", "Spritecaster Cape", "Optional") | |
ExoLink:BISitem(bis, "11662", "Waist", "Ban'thok Sash", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "11766", "Wrists", "Flameweave Cuffs", "Fire Resist!") | |
ExoLink:BISitem(bis, "11822", "Feet", "Omnicast Boots", "Optional") | |
ExoLink:BISitem(bis, "11832", "Trinkets", "Burst of Knowledge", "Optional") | |
ExoLink:BISitem(bis, "11904", "Off-Hand", "Spirit of Aquementas", "Optional") | |
ExoLink:BISitem(bis, "12103", "Neck", "Star of Mystaria", "Optional - spell hit") | |
ExoLink:BISitem(bis, "12543", "Ring", "Songstone of Ironforge", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "12545", "Ring", "Eye of Orgrimmar", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "12930", "Trinkets", "Briarwood Reed", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "12965", "Legs", "Spiritshroud Leggings", "Optional (and for Looks)") | |
ExoLink:BISitem(bis, "13001", "Ring", "Maiden's Circle", "Best") | |
ExoLink:BISitem(bis, "13170", "Legs", "Skyshroud Leggings", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "13253", "Hands", "Hands of Power", "Optional") | |
ExoLink:BISitem(bis, "13386", "Back", "Archivist Cape", "Optional") | |
ExoLink:BISitem(bis, "13396", "Ranged", "Skul's Ghastly Touch", "Best") | |
ExoLink:BISitem(bis, "13938", "Ranged", "Bonecreeper Stylus", "Optional") | |
ExoLink:BISitem(bis, "13964", "Main Hand", "Witchblade", "Optional") | |
ExoLink:BISitem(bis, "13968", "Trinkets", "Eye of the Beast", "Best") | |
ExoLink:BISitem(bis, "14107", "Legs", "Felcloth Pants", "Optional") | |
ExoLink:BISitem(bis, "14112", "Shoulders", "Felcloth Shoulders", "Optional") | |
ExoLink:BISitem(bis, "14136", "Chest", "Robe of Winter Night", "Optional") | |
ExoLink:BISitem(bis, "14146", "Hands", "Gloves of Spell Mastery", "Pre-Raid Burst") | |
ExoLink:BISitem(bis, "14153", "Chest", "Robe of the Void", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "14332", "Head", "Eternal Crown", "Optional") | |
ExoLink:BISitem(bis, "14335", "Shoulders", "Eternal Spaulders", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "15283", "Ranged", "Lunar Wand", "Optional") | |
ExoLink:BISitem(bis, "15942", "Off-Hand", "Master's Rod", "Optional") | |
ExoLink:BISitem(bis, "16803", "Feet", "Felheart Slippers", "Optional") | |
ExoLink:BISitem(bis, "16804", "Wrists", "Felheart Bracers", "Optional") | |
ExoLink:BISitem(bis, "16805", "Hands", "Felheart Gloves", "Optional") | |
ExoLink:BISitem(bis, "16809", "Chest", "Felheart Robes", "Best: Spell hit") | |
ExoLink:BISitem(bis, "16929", "Head", "Nemesis Skullcap", "Best") | |
ExoLink:BISitem(bis, "16930", "Legs", "Nemesis Leggings", "Best") | |
ExoLink:BISitem(bis, "17070", "Main Hand", "Fang of the Mystics", "Optional - World Boss") | |
ExoLink:BISitem(bis, "17078", "Back", "Sapphiron Drape", "Optional") | |
ExoLink:BISitem(bis, "17103", "Main Hand", "Azuresong Mageblade", "Optional") | |
ExoLink:BISitem(bis, "17109", "Neck", "Choker of Enlightenment", "Optional") | |
ExoLink:BISitem(bis, "18372", "Main Hand", "Blade of the New Moon", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "18407", "Hands", "Felcloth Gloves", "Best") | |
ExoLink:BISitem(bis, "18467", "Trinkets", "Royal Seal of Eldre'Thalas", "Optional") | |
ExoLink:BISitem(bis, "18497", "Wrists", "Sublime Wristguards", "Best") | |
ExoLink:BISitem(bis, "18534", "Main Hand", "Rod of the Ogre Magi", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "18681", "Shoulders", "Burial Shawl", "Optional") | |
ExoLink:BISitem(bis, "18691", "Neck", "Dark Advisor's Pendant", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "18720", "Shoulders", "Shroud of the Nathrezim", "Optional: Crit") | |
ExoLink:BISitem(bis, "18727", "Head", "Crimson Felt Hat", "Optional") | |
ExoLink:BISitem(bis, "18735", "Feet", "Maleki's Footwraps", "Best") | |
ExoLink:BISitem(bis, "18809", "Waist", "Sash of Whispered Secrets", "Optional") | |
ExoLink:BISitem(bis, "18814", "Neck", "Choker of the Fire Lord", "Best") | |
ExoLink:BISitem(bis, "18820", "Trinkets", "Talisman of Ephemeral Power", "Best") | |
ExoLink:BISitem(bis, "18842", "Main Hand", "Staff of Dominance", "Optional") | |
ExoLink:BISitem(bis, "19131", "Feet", "Snowblind Shoes", "Best - World Boss") | |
ExoLink:BISitem(bis, "19133", "Legs", "Fel Infused Leggings", "Best (World boss)") | |
ExoLink:BISitem(bis, "19136", "Waist", "Mana Igniting Cord", "Best") | |
ExoLink:BISitem(bis, "19145", "Chest", "Robe of Volatile Power", "Best") | |
ExoLink:BISitem(bis, "19147", "Ring", "Ring of Spell Power", "Best") | |
ExoLink:BISitem(bis, "19309", "Off-Hand", "Tome of Shadow Force", "Best") | |
ExoLink:BISitem(bis, "19595", "Wrists", "Dryad's Wrist Bindings", "Best") | |
ExoLink:BISitem(bis, "23255", "Head", "Champion's Dreadweave Cowl", "Pre-Raid Best") | |
ExoLink:BISitem(bis, "23256", "Shoulders", "Champion's Dreadweave Spaulders", "Best") | |
ExoLink:BISitem(bis, "10246", "Chest", "Master's Vest", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "10255", "Waist", "Master's Belt", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "10828", "Main Hand", "Dire Nail", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "11924", "Chest", "Robes of the Royal Crown", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "12752", "Head", "Cap of the Scarlet Savant", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "13956", "Waist", "Clutch of Andros", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "14111", "Head", "Felcloth Hood", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "14538", "Shoulders", "Deadwalker Mantle", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "15247", "Main Hand", "Bloodstrike Dagger", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "15278", "Main Hand", "Solstice Staff", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "17719", "Main Hand", "Inventor's Focal Sword", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "18350", "Back", "Amplifying Cloak", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "18496", "Back", "Heliotrope Cloak", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "18526", "Head", "Crown of the Ogre King", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "18728", "Neck", "Anastari Heirloom", "Pre-Raid Optional") | |
ExoLink:BISitem(bis, "22881", "Legs", "Legionnaire's Dreadweave Legguards", "Pre-Raid Best") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment