local _, Simulationcraft = ... Simulationcraft.RoleTable = { -- Death Knight [250] = 'tank', [251] = 'attack', [252] = 'attack', -- Demon Hunter [577] = 'attack', [581] = 'tank', -- Druid [102] = 'spell', [103] = 'attack', [104] = 'tank', [105] = 'attack', -- Evoker [1467] = 'spell', [1468] = 'attack', -- Hunter [253] = 'attack', [254] = 'attack', [255] = 'attack', -- Mage [62] = 'spell', [63] = 'spell', [64] = 'spell', -- Monk [268] = 'tank', [269] = 'attack', [270] = 'attack', -- Paladin [65] = 'attack', [66] = 'tank', [70] = 'attack', -- Priest [256] = 'spell', [257] = 'attack', [258] = 'spell', -- Rogue [259] = 'attack', [260] = 'attack', [261] = 'attack', -- Shaman [262] = 'spell', [263] = 'attack', [264] = 'attack', -- Warlock [265] = 'spell', [266] = 'spell', [267] = 'spell', -- Warrior [71] = 'attack', [72] = 'attack', [73] = 'tank' } -- regionID lookup Simulationcraft.RegionString = { [1] = 'us', [2] = 'kr', [3] = 'eu', [4] = 'tw', [5] = 'cn', [72] = 'tr' } -- non-localized profession names from ids Simulationcraft.ProfNames = { [129] = 'First Aid', [164] = 'Blacksmithing', [165] = 'Leatherworking', [171] = 'Alchemy', [182] = 'Herbalism', [184] = 'Cooking', [186] = 'Mining', [197] = 'Tailoring', [202] = 'Engineering', [333] = 'Enchanting', [356] = 'Fishing', [393] = 'Skinning', [755] = 'Jewelcrafting', [773] = 'Inscription', [794] = 'Archaeology' } -- non-localized spec names from spec ids Simulationcraft.SpecNames = { -- Death Knight [250] = 'Blood', [251] = 'Frost', [252] = 'Unholy', -- Demon Hunter [577] = 'Havoc', [581] = 'Vengeance', -- Druid [102] = 'Balance', [103] = 'Feral', [104] = 'Guardian', [105] = 'Restoration', -- Evoker [1473] = 'Augmentation', [1467] = 'Devastation', [1468] = 'Preservation', -- Hunter [253] = 'Beast Mastery', [254] = 'Marksmanship', [255] = 'Survival', -- Mage [62] = 'Arcane', [63] = 'Fire', [64] = 'Frost', -- Monk [268] = 'Brewmaster', [269] = 'Windwalker', [270] = 'Mistweaver', -- Paladin [65] = 'Holy', [66] = 'Protection', [70] = 'Retribution', -- Priest [256] = 'Discipline', [257] = 'Holy', [258] = 'Shadow', -- Rogue [259] = 'Assassination', [260] = 'Outlaw', [261] = 'Subtlety', -- Shaman [262] = 'Elemental', [263] = 'Enhancement', [264] = 'Restoration', -- Warlock [265] = 'Affliction', [266] = 'Demonology', [267] = 'Destruction', -- Warrior [71] = 'Arms', [72] = 'Fury', [73] = 'Protection' } -- slot name conversion stuff -- The array indexes are NOT the slot ids - they are the "slot numbers" used by this addons. Simulationcraft.slotNames = { "HeadSlot", -- [1] "NeckSlot", -- [2] "ShoulderSlot", -- [3] "BackSlot", -- [4] "ChestSlot", -- [5] "ShirtSlot", -- [6] "TabardSlot", -- [7] "WristSlot", -- [8] "HandsSlot", -- [9] "WaistSlot", -- [10] "LegsSlot", -- [11] "FeetSlot", -- [12] "Finger0Slot", -- [13] "Finger1Slot", -- [14] "Trinket0Slot", -- [15] "Trinket1Slot", -- [16] "MainHandSlot", -- [17] "SecondaryHandSlot", -- [18] "AmmoSlot" -- [19] } -- The array indexes are NOT the slot ids - they are the "slot numbers" used by this addons. Simulationcraft.simcSlotNames = { 'head', -- [1] 'neck', -- [2] 'shoulder', -- [3] 'back', -- [4] 'chest', -- [5] 'shirt', -- [6] 'tabard', -- [7] 'wrist', -- [8] 'hands', -- [9] 'waist', -- [10] 'legs', -- [11] 'feet', -- [12] 'finger1', -- [13] 'finger2', -- [14] 'trinket1', -- [15] 'trinket2', -- [16] 'main_hand', -- [17] 'off_hand', -- [18] 'ammo', -- [19] } -- Map of the INVTYPE_ returned by GetItemInfo to the slot number (NOT the slot id). Simulationcraft.invTypeToSlotNum = { INVTYPE_HEAD=1, INVTYPE_NECK=2, INVTYPE_SHOULDER=3, INVTYPE_CLOAK=4, INVTYPE_CHEST=5, INVTYPE_ROBE=5, -- These are the same slot - which one is used appears to differ based on whether the item's model covers the legs. INVTYPE_BODY=6, -- shirt. INVTYPE_TABARD=7, INVTYPE_WRIST=8, INVTYPE_HAND=9, INVTYPE_WAIST=10, INVTYPE_LEGS=11, INVTYPE_FEET=12, INVTYPE_FINGER=13, -- 14 is also a finger slot number. INVTYPE_TRINKET=15, -- 16 is also a trinket slot number. INVTYPE_WEAPON=17, -- 1h weapon. INVTYPE_2HWEAPON=17, -- 2h weapon. INVTYPE_RANGED=17, -- bows. INVTYPE_RANGEDRIGHT=17, -- Guns, wands, crossbows. INVTYPE_SHIELD=18, INVTYPE_HOLDABLE=18, -- off hand, but not a weapon or shield. -- These types are no longer used in current content. INVTYPE_WEAPONMAINHAND=17, -- Likely no items have this type anymore. INVTYPE_WEAPONOFFHAND=18, -- Likely no items have this type anymore. INVTYPE_THROWN=17, -- Thrown weapons. I do not know if this slot number is correct, but it shouldn't matter since these are no longer obtainable and those that do exist are now gray items. --INVTYPE_RELIC=?, -- No corresponding slot number, and I do not think any such items exist. Existing relics were turned into non-equipable gray items. This is value is not used for legion relics either. } -- table for conversion to upgrade level, stolen from AMR (<3) Simulationcraft.upgradeTable = { [0] = 0, [1] = 1, -- 1/1 -> 8 [373] = 1, -- 1/2 -> 4 [374] = 2, -- 2/2 -> 8 [375] = 1, -- 1/3 -> 4 [376] = 2, -- 2/3 -> 4 [377] = 3, -- 3/3 -> 4 [378] = 1, -- 1/1 -> 7 [379] = 1, -- 1/2 -> 4 [380] = 2, -- 2/2 -> 4 [445] = 0, -- 0/2 -> 0 [446] = 1, -- 1/2 -> 4 [447] = 2, -- 2/2 -> 8 [451] = 0, -- 0/1 -> 0 [452] = 1, -- 1/1 -> 8 [453] = 0, -- 0/2 -> 0 [454] = 1, -- 1/2 -> 4 [455] = 2, -- 2/2 -> 8 [456] = 0, -- 0/1 -> 0 [457] = 1, -- 1/1 -> 8 [458] = 0, -- 0/4 -> 0 [459] = 1, -- 1/4 -> 4 [460] = 2, -- 2/4 -> 8 [461] = 3, -- 3/4 -> 12 [462] = 4, -- 4/4 -> 16 [465] = 0, -- 0/2 -> 0 [466] = 1, -- 1/2 -> 4 [467] = 2, -- 2/2 -> 8 [468] = 0, -- 0/4 -> 0 [469] = 1, -- 1/4 -> 4 [470] = 2, -- 2/4 -> 8 [471] = 3, -- 3/4 -> 12 [472] = 4, -- 4/4 -> 16 [476] = 0, -- ? -> 0 [479] = 0, -- ? -> 0 [491] = 0, -- ? -> 0 [492] = 1, -- ? -> 0 [493] = 2, -- ? -> 0 [494] = 0, [495] = 1, [496] = 2, [497] = 3, [498] = 4, [504] = 3, [505] = 4, -- WOW-20726patch6.2.3_Retail [529] = 0, -- 0/2 -> 0 [530] = 1, -- 1/2 -> 5 [531] = 2 -- 2/2 -> 10 } Simulationcraft.zandalariLoaBuffs = { [292359] = 'akunda', [292360] = 'bwonsamdi', [292362] = 'gonk', [292363] = 'kimbul', [292364] = 'kragwa', [292361] = 'paku', } Simulationcraft.azeriteEssenceSlotsMajor = { 0 } Simulationcraft.azeriteEssenceSlotsMinor = { 1, 2 } Simulationcraft.covenants = { [1] = 'kyrian', [2] = 'venthyr', [3] = 'night_fae', [4] = 'necrolord', } -- 11.1.7 Belt spells Simulationcraft.discBeltSpell = 1233515 Simulationcraft.discBeltEffectSpells = { [1241240] = 1236279, [1241241] = 1236278, [1241242] = 1236277, [1241243] = 1236961, [1241244] = 1236109, [1241245] = 1236122, [1241246] = 1236272, [1241250] = 1236275, [1241251] = 1236273, } -- Spells to load by LoadSpellsAsync and to store in SpellCache Simulationcraft.preloadSpellIds = { -- 11.1.7 DISC Belt Spells 1233515, 1241240, 1241241, 1241242, 1241243, 1241244, 1241245, 1241246, 1241250, 1241251, } -- Upgrade currencies and item Simulationcraft.upgradeCurrencies = { [1191] = 'Valor', [1792] = 'Honor', [2122] = 'Storm Sigil', [2245] = 'Flightstones', [2706] = 'Whelpling\'s Dreaming Crest', [2707] = 'Drake\'s Dreaming Crest', [2708] = 'Wyrm\'s Dreaming Crest', [2709] = 'Aspect\'s Dreaming Crest', [2806] = 'Whelpling\'s Awakened Crest', [2807] = 'Drake\'s Awakened Crest', [2809] = 'Wyrm\'s Awakened Crest', [2812] = 'Aspect\'s Awakened Crest', [2914] = 'Weathered Harbinger Crest', [2915] = 'Carved Harbinger Crest', [2916] = 'Runed Harbinger Crest', [2917] = 'Gilded Harbinger Crest', [3008] = 'Valorstones', [3107] = 'Weathered Undermine Crest', [3108] = 'Carved Undermine Crest', [3109] = 'Runed Undermine Crest', [3110] = 'Gilded Undermine Crest', [3284] = 'Weathered Ethereal Crest', [3286] = 'Carved Ethereal Crest', [3288] = 'Runed Ethereal Crest', [3290] = 'Gilded Ethereal Crest', } Simulationcraft.upgradeItems = { [173381] = 'Crafter\'s Mark I', [180055] = 'Relic of the Past I', [180057] = 'Relic of the Past II', [180058] = 'Relic of the Past III', [180059] = 'Relic of the Past IV', [180060] = 'Relic of the Past V', [190453] = 'Spark of Ingenuity', [197921] = 'Primal Infusion', [198046] = 'Concentrated Primal Infusion', [198048] = 'Titan Training Matrix I', [198056] = 'Titan Training Matrix II', [198058] = 'Titan Training Matrix III', [198059] = 'Titan Training Matrix IV', [204440] = 'Spark of Shadowflame', [204673] = 'Titan Training Matrix V', [204681] = 'Enchanted Whelpling\'s Shadowflame Crest', [204682] = 'Enchanted Wyrm\'s Shadowflame Crest', [204697] = 'Enchanted Aspect\'s Shadowflame Crest', [206366] = 'Cracked Trophy of Strife', [206959] = 'Spark of Dreams', [206960] = 'Enchanted Wyrm\'s Dreaming Crest', [206961] = 'Enchanted Aspect\'s Dreaming Crest', [206977] = 'Enchanted Whelpling\'s Dreaming Crest', [210221] = 'Forged Combatant\'s Heraldry', [210232] = 'Forged Aspirant\'s Heraldry', [210233] = 'Forged Gladiator\'s Heraldry', [211296] = 'Spark of Omens', [211494] = 'Spark of Beginnings', [211516] = 'Spark of Awakening', [211518] = 'Enchanted Wyrm\'s Awakened Crest', [211519] = 'Enchanted Aspect\'s Awakened Crest', [211520] = 'Enchanted Whelpling\'s Awakened Crest', [224069] = 'Enchanted Weathered Harbinger Crest', [224072] = 'Enchanted Runed Harbinger Crest', [224073] = 'Enchanted Gilded Harbinger Crest', [228338] = 'Soul Sigil I', [228339] = 'Soul Sigil II', [228368] = 'Relic of the Past VI', [229388] = 'Prized Combatant\'s Heraldry', [229389] = 'Prized Aspirant\'s Heraldry', [229390] = 'Prized Gladiator\'s Heraldry', [230285] = 'Astral Combatant\'s Heraldry', [230286] = 'Astral Aspirant\'s Heraldry', [230287] = 'Astral Gladiator\'s Heraldry', [230906] = 'Spark of Fortunes', [230935] = 'Enchanted Gilded Undermine Crest', [230936] = 'Enchanted Runed Undermine Crest', [230937] = 'Enchanted Weathered Undermine Crest', [231756] = 'Spark of Starlight', [231767] = 'Enchanted Weathered Ethereal Crest', [231768] = 'Enchanted Gilded Ethereal Crest', [231769] = 'Enchanted Runed Ethereal Crest', } Simulationcraft.catalystCurrencies = { [2813] = 'Harmonized Silk', [3116] = 'Essence of Kaja\'mite', [3269] = 'Ethereal Voidsplinter', } Simulationcraft.upgradeAchievements = { 19326, -- Dreaming of Drakes 19397, -- Dreaming of Wyrms 19398, -- Dreaming of the Aspects 19577, -- The Awakened Drake 19578, -- The Awakened Wyrm 19579, -- The Awakened Aspects 40107, -- Harbinger of the Weathered 40115, -- Harbinger of the Carved 40118, -- Harbinger of the Runed 40942, -- Weathered of the Undermine 40943, -- Carved of the Undermine 40944, -- Runed of the Undermine 40945, -- Gilded of the Undermine 41886, -- Weathered of the Ethereal 41887, -- Carved of the Ethereal 41888, -- Runed of the Ethereal }