diff --git a/AGENTS.md b/AGENTS.md index dfa2057..fd6f574 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -26,14 +26,15 @@ Amibis/ - **SavedVariables**: `AmibisDB` (account-wide, stores selected phase), `AmibisCharDB` (per-character, stores frame position + spec override) - **Namespace pattern**: `local addonName, ns = ...` — all modules attach to `ns` - **Tests**: offline suite in `Tests/` (mocked WoW API, no client needed) — run `lua5.4 Amibis/Tests/run.lua` from the repo root; see `Tests/README.md`. UI still verified in-game. -- **Currently**: T4 (Phase 1), T5 (Phase 2), and T6 (Phase 3) populated — all refreshed from wowtbc.gg `page-data` JSON. Discipline Priest + Beast Mastery/Marksmanship Hunter + all three warlocks share spec-partner T6 lists (warlock T5 splits: Affliction = Corruptor, Demo/Destro = Voidheart). Druid Feral Combat + Paladin Protection/Retribution have T4/T6 only. Default phase is T6. Phase-progress bar measures completion against the **latest** available phase regardless of which phase is selected. +- **Currently**: T4 (Phase 1), T5 (Phase 2), T6 (Phase 3), and ZA (Phase 4, Zul'Aman) populated — all refreshed from wowtbc.gg `page-data` JSON. Discipline Priest + Beast Mastery/Marksmanship Hunter + all three warlocks share spec-partner lists in each phase (warlock T5 splits: Affliction = Corruptor, Demo/Destro = Voidheart). Druid Feral Combat + Paladin Protection/Retribution have no T5 list. Default phase is ZA. Phase-progress bar measures completion against the **latest** available phase regardless of which phase is selected. +- **ZA sourcing notes**: the site's `za` variant is used, preferring the group/raid-flagged variant when a slot has several. Relic-slot entries (idols/librams/totems) are omitted, matching T4–T6. One site data bug is corrected in the generator: the ZA list for Holy Paladin pointed at Hammer of Sanctification (Sunwell only), so the T6 main hand (Crystal Spire of Karabor) is used instead. ## Adding new BIS data 1. Add a `local CLASS_T4 = { ... }` table in `Data/BISLists.lua` following the existing `PRIEST_T4` structure 2. Register it in `BIS_DATA` under the appropriate class/spec/phase key 3. Each slot entry: `{ itemID, name, source, enchant? }` 4. Ensure class name matches WoW's English class constant (e.g. `"WARRIOR"`, not `"Warrior"`) -5. Phases are ordered via `PHASE_ORDER = { "T4", "T5", "T6" }` — T4 = Phase 1 (Karazhan/Gruul/Magtheridon), T5 = Phase 2 (SSC/TK), T6 = Phase 3 (Black Temple/Hyjal). All phase data is sourced from wowtbc.gg `page-data` JSON (the per-phase `bis` variants, group/raid-flagged). Affliction warlock has its own T5 list (Corruptor set); Demonology/Destruction share Voidheart. +5. Phases are ordered via `PHASE_ORDER = { "T4", "T5", "T6", "ZA" }` — T4 = Phase 1 (Karazhan/Gruul/Magtheridon), T5 = Phase 2 (SSC/TK), T6 = Phase 3 (Black Temple/Hyjal), ZA = Phase 4 (Zul'Aman). All phase data is sourced from wowtbc.gg `page-data` JSON (the per-phase `bis` variants, group/raid-flagged). Affliction warlock has its own T5 list (Corruptor set); Demonology/Destruction share Voidheart. ## UI conventions - ElvUI-style dark backdrop (`{0.07, 0.07, 0.07}`, alpha 0.95) diff --git a/Amibis/Amibis.lua b/Amibis/Amibis.lua index e5e6b40..c0d6b81 100644 --- a/Amibis/Amibis.lua +++ b/Amibis/Amibis.lua @@ -5,7 +5,7 @@ ns.Amibis = Amibis Amibis.version = "1.0.0" local DEFAULT_AMIBIS_DB = { - selectedPhase = "T6", + selectedPhase = "ZA", } local DEFAULT_AMIBIS_CHAR_DB = { @@ -280,7 +280,7 @@ end function Amibis:CompareGear() local class = self:GetPlayerClass() local spec = AmibisCharDB.overrideSpec or self:GetPlayerSpec() - local phase = ns.Data.BISLists:ResolvePhase(class, spec, AmibisDB.selectedPhase or "T5") + local phase = ns.Data.BISLists:ResolvePhase(class, spec, AmibisDB.selectedPhase or "ZA") local bisList = ns.Data.BISLists:GetBISList(class, spec, phase) if not bisList then diff --git a/Amibis/Data/BISLists.lua b/Amibis/Data/BISLists.lua index e6c81c3..8c3d170 100644 --- a/Amibis/Data/BISLists.lua +++ b/Amibis/Data/BISLists.lua @@ -2,7 +2,7 @@ local _, ns = ... ns.Data = ns.Data or {} ns.Data.BISLists = {} -local PHASE_ORDER = { "T4", "T5", "T6" } +local PHASE_ORDER = { "T4", "T5", "T6", "ZA" } -- ============================================================================= -- BIS DATA STRUCTURE @@ -1331,55 +1331,506 @@ local ROGUE_SUBTLETY_T4 = ROGUE_COMBAT_T4 local HUNTER_MM_T4 = HUNTER_BM_T4 +-- ============================================================================= +-- ZA DATA (Phase 4: Zul'Aman) +-- Source: wowtbc.gg BiS lists, ZA phase +-- ============================================================================= + +-- PRIEST ZA (Discipline/Holy) +local PRIEST_HOLY_ZA = { + ["Back"] = { itemID = 32524, name = "Shroud of the Highborne", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31066, name = "Vestments of Absolution", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Spirit" } }, + ["Feet"] = { itemID = 32609, name = "Boots of the Divine Light", source = "Hyjal - Trash Drop", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32528, name = "Blessed Band of Karabor", source = "BT - Trash Drop" }, + ["Finger1"] = { itemID = 33498, name = "Signet of the Quiet Forest", source = "Zul'Aman - Timed Chest (3)" }, + ["Hands"] = { itemID = 31060, name = "Gloves of Absolution", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Healing" } }, + ["Head"] = { itemID = 31063, name = "Cowl of Absolution", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Renewal" } }, + ["Legs"] = { itemID = 30912, name = "Leggings of Eternity", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Golden Spellthread" } }, + ["MainHand"] = { itemID = 32500, name = "Crystal Spire of Karabor", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Healing" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["Ranged"] = { itemID = 32363, name = "Naaru-Blessed Life Rod", source = "BT - Reliquary of the Lost" }, + ["SecondaryHand"] = { itemID = 30911, name = "Scepter of Purification", source = "Hyjal - Archimonde" }, + ["Shoulder"] = { itemID = 31069, name = "Mantle of Absolution", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Faith" } }, + ["Trinket0"] = { itemID = 29376, name = "Essence of the Martyr", source = "Badge of Justice (41)" }, + ["Trinket1"] = { itemID = 32496, name = "Memento of Tyrande", source = "BT - Illidan Stormrage" }, + ["Waist"] = { itemID = 30895, name = "Angelista's Sash", source = "Hyjal - Kaz'rogal" }, + ["Wrist"] = { itemID = 32584, name = "Swiftheal Wraps", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Superior Healing" } }, +} + +-- PRIEST ZA (Shadow) +local PRIEST_SHADOW_ZA = { + ["Back"] = { itemID = 32590, name = "Nethervoid Cloak", source = "Hyjal - Trash Drop", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31065, name = "Shroud of Absolution", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 21870, name = "Frozen Shadoweave Boots", source = "Tailoring Trainer (375)", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Hands"] = { itemID = 31061, name = "Handguards of Absolution", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 31064, name = "Hood of Absolution", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 30916, name = "Leggings of Channeled Elements", source = "Hyjal - Kaz'rogal", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 32374, name = "Zhar'doom, Greatstaff of the Devourer", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Soulfrost" } }, + ["Neck"] = { itemID = 33466, name = "Loop of Cursed Bones", source = "Zul'Aman - Zul'jin" }, + ["Ranged"] = { itemID = 33192, name = "Carved Witch Doctor's Stick", source = "Badge of Justice (25)" }, + ["Shoulder"] = { itemID = 31070, name = "Shoulderpads of Absolution", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Discipline" } }, + ["Trinket0"] = { itemID = 32483, name = "The Skull of Gul'dan", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Waist"] = { itemID = 32256, name = "Waistwrap of Infinity", source = "BT - Supremus" }, + ["Wrist"] = { itemID = 32586, name = "Bracers of Nimble Thought", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Spellpower" } }, +} + +-- DRUID ZA (Balance) +local DRUID_BALANCE_ZA = { + ["Back"] = { itemID = 32331, name = "Cloak of the Illidari Council", source = "BT - The Illidari Council", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31043, name = "Thunderheart Vest", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32239, name = "Slippers of the Seacaller", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Hands"] = { itemID = 31035, name = "Thunderheart Handguards", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 31040, name = "Thunderheart Headguard", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 30916, name = "Leggings of Channeled Elements", source = "Hyjal - Kaz'rogal", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 32374, name = "Zhar'doom, Greatstaff of the Devourer", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Sunfire" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["Shoulder"] = { itemID = 31049, name = "Thunderheart Shoulderpads", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Discipline" } }, + ["Trinket0"] = { itemID = 32483, name = "The Skull of Gul'dan", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Waist"] = { itemID = 30888, name = "Anetheron's Noose", source = "Hyjal - Anetheron" }, + ["Wrist"] = { itemID = 32586, name = "Bracers of Nimble Thought", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Spellpower" } }, +} + +-- DRUID ZA (Feral Combat) +local DRUID_FERAL_ZA = { + ["Back"] = { itemID = 29994, name = "Thalassian Wildercloak", source = "TK - Kael'thas Sunstrider", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 31042, name = "Thunderheart Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 29301, name = "Band of the Eternal Champion", source = "The Scale of the Sands - Exalted", enchant = { id = 0, name = "Stats" } }, + ["Finger1"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)", enchant = { id = 0, name = "Stats" } }, + ["Hands"] = { itemID = 31034, name = "Thunderheart Gauntlets", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Superior Agility" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 31044, name = "Thunderheart Leggings", source = "BT - The Illidari Council", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 33465, name = "Staff of Primal Fury", source = "Zul'Aman - Hex Lord Malacrass", enchant = { id = 0, name = "Major Agility" } }, + ["Neck"] = { itemID = 30017, name = "Telonicus's Pendant of Mayhem", source = "Quest Reward - Kael'thas and the Verdant Sphere" }, + ["Shoulder"] = { itemID = 31048, name = "Thunderheart Pauldrons", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 32505, name = "Madness of the Betrayer", source = "BT - The Illidari Council" }, + ["Trinket1"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 32324, name = "Insidious Bands", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Brawn" } }, +} + +-- DRUID ZA (Restoration) +local DRUID_RESTO_ZA = { + ["Back"] = { itemID = 32524, name = "Shroud of the Highborne", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31041, name = "Thunderheart Tunic", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Spirit" } }, + ["Feet"] = { itemID = 32609, name = "Boots of the Divine Light", source = "Hyjal - Trash Drop", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32528, name = "Blessed Band of Karabor", source = "BT - Trash Drop" }, + ["Finger1"] = { itemID = 29309, name = "Band of the Eternal Restorer", source = "The Scale of the Sands - Exalted" }, + ["Hands"] = { itemID = 32328, name = "Botanist's Gloves of Growth", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Major Healing" } }, + ["Head"] = { itemID = 31037, name = "Thunderheart Helmet", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Renewal" } }, + ["Legs"] = { itemID = 30912, name = "Leggings of Eternity", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Golden Spellthread" } }, + ["MainHand"] = { itemID = 32500, name = "Crystal Spire of Karabor", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Healing" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["SecondaryHand"] = { itemID = 30911, name = "Scepter of Purification", source = "Hyjal - Archimonde" }, + ["Shoulder"] = { itemID = 31047, name = "Thunderheart Spaulders", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Faith" } }, + ["Trinket0"] = { itemID = 32496, name = "Memento of Tyrande", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 29376, name = "Essence of the Martyr", source = "Badge of Justice (41)" }, + ["Waist"] = { itemID = 32339, name = "Belt of Primal Majesty", source = "BT - Gurtogg Bloddboil" }, + ["Wrist"] = { itemID = 32584, name = "Swiftheal Wraps", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Superior Healing" } }, +} + +-- PALADIN ZA (Holy) +local PALADIN_HOLY_ZA = { + ["Back"] = { itemID = 32524, name = "Shroud of the Highborne", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 30992, name = "Lightbringer Chestpiece", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Restore Mana Prime" } }, + ["Feet"] = { itemID = 33324, name = "Treads of the Life Path", source = "Badge of Justice (60)", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 29309, name = "Band of the Eternal Restorer", source = "The Scale of the Sands - Exalted", enchant = { id = 0, name = "Healing Power" } }, + ["Finger1"] = { itemID = 33498, name = "Signet of the Quiet Forest", source = "Zul'Aman - Timed Chest (3)", enchant = { id = 0, name = "Healing Power" } }, + ["Hands"] = { itemID = 32328, name = "Botanist's Gloves of Growth", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Major Healing" } }, + ["Head"] = { itemID = 30988, name = "Lightbringer Greathelm", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Renewal" } }, + ["Legs"] = { itemID = 30994, name = "Lightbringer Leggings", source = "BT - The Illidari Council", enchant = { id = 0, name = "Golden Spellthread" } }, + ["MainHand"] = { itemID = 32500, name = "Crystal Spire of Karabor", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Healing" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["SecondaryHand"] = { itemID = 32255, name = "Felstone Bulwark", source = "BT - Supremus", enchant = { id = 0, name = "Intellect" } }, + ["Shoulder"] = { itemID = 30996, name = "Lightbringer Pauldrons", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Faith" } }, + ["Trinket0"] = { itemID = 32496, name = "Memento of Tyrande", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 29376, name = "Essence of the Martyr", source = "Badge of Justice (41)" }, + ["Waist"] = { itemID = 32258, name = "Naturalist's Preserving Cinch", source = "BT - Supremus" }, + ["Wrist"] = { itemID = 32571, name = "Dawnsteel Bracers", source = "Blacksmithing BoP Pattern (375)", enchant = { id = 0, name = "Superior Healing" } }, +} + +-- PALADIN ZA (Protection) +local PALADIN_PROT_ZA = { + ["Back"] = { itemID = 29925, name = "Phoenix-Wing Cloak", source = "TK - Al'ar", enchant = { id = 0, name = "Dodge" } }, + ["Chest"] = { itemID = 30991, name = "Lightbringer Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Health" } }, + ["Feet"] = { itemID = 32245, name = "Tide-stomper's Greaves", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Fortitude" } }, + ["Finger0"] = { itemID = 33054, name = "The Seal of Danzalar", source = "SSC - The Lurker Below" }, + ["Finger1"] = { itemID = 29172, name = "Ashyen's Gift", source = "Cenarion Expedition - Exalted" }, + ["Hands"] = { itemID = 30985, name = "Lightbringer Handguards", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 32521, name = "Faceplate of the Impenetrable", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 30995, name = "Lightbringer Legguards", source = "BT - The Illidari Council", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 30910, name = "Tempest of Chaos", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Major Spellpower" } }, + ["Neck"] = { itemID = 33921, name = "Vindicator's Pendant of Dominance", source = "PvP - Honor & EotS Marks" }, + ["SecondaryHand"] = { itemID = 32375, name = "Bulwark of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Shield Block" } }, + ["Shoulder"] = { itemID = 30998, name = "Lightbringer Shoulderguards", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of the Knight" } }, + ["Trinket0"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Trinket1"] = { itemID = 30447, name = "Tome of Fiery Redemption", source = "TK - Al'ar" }, + ["Waist"] = { itemID = 32342, name = "Girdle of Mighty Resolve", source = "BT - Gurtogg Bloddboil" }, + ["Wrist"] = { itemID = 32279, name = "The Seeker's Wristguards", source = "BT - Shade of Akama", enchant = { id = 0, name = "Spellpower" } }, +} + +-- PALADIN ZA (Retribution) +local PALADIN_RET_ZA = { + ["Back"] = { itemID = 33590, name = "Cloak of Fiends", source = "Zul'Aman - Timed Chest (1)", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 30905, name = "Midnight Chestguard", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Dexterity" } }, + ["Finger0"] = { itemID = 30834, name = "Shapeshifter's Signet", source = "Lower City - Exalted" }, + ["Finger1"] = { itemID = 32335, name = "Unstoppable Aggressor's Ring", source = "BT - Gurtogg Bloddboil" }, + ["Hands"] = { itemID = 29947, name = "Gloves of the Searing Grip", source = "TK - Al'ar", enchant = { id = 0, name = "Major Strength" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of the Outcast" } }, + ["Legs"] = { itemID = 30900, name = "Bow-stitched Leggings", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 32332, name = "Torch of the Damned", source = "BT - Reliquary of the Lost", enchant = { id = 0, name = "Mongoose" } }, + ["Neck"] = { itemID = 30022, name = "Pendant of the Perilous", source = "SSC - Trash Mobs" }, + ["Shoulder"] = { itemID = 30055, name = "Shoulderpads of the Stranger", source = "SSC - Hydross the Unstable", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Trinket1"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 32574, name = "Bindings of Lightning Reflexes", source = "Leatherworking BoP Pattern (375)", enchant = { id = 0, name = "Brawn" } }, +} + +-- SHAMAN ZA (Elemental) +local SHAMAN_ELEMENTAL_ZA = { + ["Back"] = { itemID = 32524, name = "Shroud of the Highborne", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31017, name = "Skyshatter Breastplate", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32239, name = "Slippers of the Seacaller", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop" }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop" }, + ["Hands"] = { itemID = 31008, name = "Skyshatter Gauntlets", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 31014, name = "Skyshatter Headguard", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 30916, name = "Leggings of Channeled Elements", source = "Hyjal - Kaz'rogal", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 32374, name = "Zhar'doom, Greatstaff of the Devourer", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Spellpower" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["Shoulder"] = { itemID = 31023, name = "Skyshatter Mantle", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Discipline" } }, + ["Trinket0"] = { itemID = 32483, name = "The Skull of Gul'dan", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Waist"] = { itemID = 32276, name = "Flashfire Girdle", source = "BT - Shade of Akama" }, + ["Wrist"] = { itemID = 32586, name = "Bracers of Nimble Thought", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Spellpower" } }, +} + +-- SHAMAN ZA (Enhancement) +local SHAMAN_ENHANCEMENT_ZA = { + ["Back"] = { itemID = 32323, name = "Shadowmoon Destroyer's Drape", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 30905, name = "Midnight Chestguard", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 32497, name = "Stormrage Signet Ring", source = "BT - Illidan Stormrage" }, + ["Finger1"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Hands"] = { itemID = 32234, name = "Fists of Mukoa", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Major Strength" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 30900, name = "Bow-stitched Leggings", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 32262, name = "Syphon of the Nathrezim", source = "BT - Supremus", enchant = { id = 0, name = "Executioner" } }, + ["Neck"] = { itemID = 32260, name = "Choker of Endless Nightmares", source = "BT - Supremus" }, + ["SecondaryHand"] = { itemID = 32262, name = "Syphon of the Nathrezim", source = "BT - Supremus", enchant = { id = 0, name = "Mongoose" } }, + ["Shoulder"] = { itemID = 32581, name = "Swiftstrike Shoulders", source = "Leatherworking BoE Pattern (375)", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Trinket1"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 30863, name = "Deadly Cuffs", source = "Hyjal - Rage Winterchill", enchant = { id = 0, name = "Brawn" } }, +} + +-- SHAMAN ZA (Restoration) +local SHAMAN_RESTO_ZA = { + ["Back"] = { itemID = 32524, name = "Shroud of the Highborne", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31016, name = "Skyshatter Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Restore Mana Prime" } }, + ["Feet"] = { itemID = 33324, name = "Treads of the Life Path", source = "Badge of Justice (60)", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32528, name = "Blessed Band of Karabor", source = "BT - Trash Drop" }, + ["Finger1"] = { itemID = 33498, name = "Signet of the Quiet Forest", source = "Zul'Aman - Timed Chest (3)" }, + ["Hands"] = { itemID = 32328, name = "Botanist's Gloves of Growth", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Major Healing" } }, + ["Head"] = { itemID = 31012, name = "Skyshatter Helmet", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Renewal" } }, + ["Legs"] = { itemID = 31019, name = "Skyshatter Leggings", source = "BT - The Illidari Council", enchant = { id = 0, name = "Golden Spellthread" } }, + ["MainHand"] = { itemID = 32500, name = "Crystal Spire of Karabor", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Healing" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["SecondaryHand"] = { itemID = 30882, name = "Bastion of Light", source = "Hyjal - Anetheron", enchant = { id = 0, name = "Intellect" } }, + ["Shoulder"] = { itemID = 31022, name = "Skyshatter Shoulderpads", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Faith" } }, + ["Trinket0"] = { itemID = 29376, name = "Essence of the Martyr", source = "Badge of Justice (41)" }, + ["Trinket1"] = { itemID = 32496, name = "Memento of Tyrande", source = "BT - Illidan Stormrage" }, + ["Waist"] = { itemID = 32258, name = "Naturalist's Preserving Cinch", source = "BT - Supremus" }, + ["Wrist"] = { itemID = 32584, name = "Swiftheal Wraps", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Superior Healing" } }, +} + +-- MAGE ZA (Arcane) +local MAGE_ARCANE_ZA = { + ["Back"] = { itemID = 32331, name = "Cloak of the Illidari Council", source = "BT - The Illidari Council", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 30196, name = "Robes of Tirisfal", source = "TK - Kael'thas Sunstrider", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32239, name = "Slippers of the Seacaller", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 29305, name = "Band of the Eternal Sage", source = "The Scale of the Sands - Exalted", enchant = { id = 0, name = "Spellpower" } }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Hands"] = { itemID = 30205, name = "Gloves of Tirisfal", source = "SSC - Leotheras the Blind", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 30206, name = "Cowl of Tirisfal", source = "SSC - Lady Vashj", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 30916, name = "Leggings of Channeled Elements", source = "Hyjal - Kaz'rogal", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 30910, name = "Tempest of Chaos", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Sunfire" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["Ranged"] = { itemID = 33192, name = "Carved Witch Doctor's Stick", source = "Badge of Justice (25)" }, + ["SecondaryHand"] = { itemID = 30872, name = "Chronicle of Dark Secrets", source = "Hyjal - Rage Winterchill" }, + ["Shoulder"] = { itemID = 30210, name = "Mantle of Tirisfal", source = "TK - Void Reaver", enchant = { id = 0, name = "Greater Inscription of the Orb" } }, + ["Trinket0"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Trinket1"] = { itemID = 30720, name = "Serpent-Coil Braid", source = "SSC - Morogrim Tidewalker" }, + ["Waist"] = { itemID = 30888, name = "Anetheron's Noose", source = "Hyjal - Anetheron" }, + ["Wrist"] = { itemID = 30870, name = "Cuffs of Devastation", source = "Hyjal - Rage Winterchill", enchant = { id = 0, name = "Spellpower" } }, +} + +-- MAGE ZA (Fire) +local MAGE_FIRE_ZA = { + ["Back"] = { itemID = 32331, name = "Cloak of the Illidari Council", source = "BT - The Illidari Council", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31057, name = "Robes of the Tempest", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32239, name = "Slippers of the Seacaller", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Hands"] = { itemID = 31055, name = "Gloves of the Tempest", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 32525, name = "Cowl of the Illidari High Lord", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 31058, name = "Leggings of the Tempest", source = "BT - The Illidari Council", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 32374, name = "Zhar'doom, Greatstaff of the Devourer", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Sunfire" } }, + ["Neck"] = { itemID = 32589, name = "Hellfire-Encased Pendant", source = "Hyjal - Trash Drop" }, + ["Ranged"] = { itemID = 29982, name = "Wand of the Forgotten Star", source = "TK - High Astromancer Solarian" }, + ["Shoulder"] = { itemID = 31059, name = "Mantle of the Tempest", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Discipline" } }, + ["Trinket0"] = { itemID = 32483, name = "The Skull of Gul'dan", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Waist"] = { itemID = 30888, name = "Anetheron's Noose", source = "Hyjal - Anetheron" }, + ["Wrist"] = { itemID = 32586, name = "Bracers of Nimble Thought", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Spellpower" } }, +} + +-- MAGE ZA (Frost) +local MAGE_FROST_ZA = { + ["Back"] = { itemID = 32331, name = "Cloak of the Illidari Council", source = "BT - The Illidari Council", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 31057, name = "Robes of the Tempest", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32239, name = "Slippers of the Seacaller", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Hands"] = { itemID = 31055, name = "Gloves of the Tempest", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 32525, name = "Cowl of the Illidari High Lord", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 31058, name = "Leggings of the Tempest", source = "BT - The Illidari Council", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 32374, name = "Zhar'doom, Greatstaff of the Devourer", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Sunfire" } }, + ["Neck"] = { itemID = 33281, name = "Brooch of Nature's Mercy", source = "Zul'Aman - Akil'zon" }, + ["Ranged"] = { itemID = 29982, name = "Wand of the Forgotten Star", source = "TK - High Astromancer Solarian" }, + ["Shoulder"] = { itemID = 31059, name = "Mantle of the Tempest", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Discipline" } }, + ["Trinket0"] = { itemID = 32483, name = "The Skull of Gul'dan", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Waist"] = { itemID = 32256, name = "Waistwrap of Infinity", source = "BT - Supremus" }, + ["Wrist"] = { itemID = 32586, name = "Bracers of Nimble Thought", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Spellpower" } }, +} + +-- WARLOCK ZA (all specs) +local WARLOCK_ZA = { + ["Back"] = { itemID = 32524, name = "Shroud of the Highborne", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Subtlety" } }, + ["Chest"] = { itemID = 30107, name = "Vestments of the Sea-Witch", source = "SSC - Lady Vashj", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32239, name = "Slippers of the Seacaller", source = "BT - High Warlord Naj'entus", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 33497, name = "Mana Attuned Band", source = "Zul'Aman - Timed Chest (3)", enchant = { id = 0, name = "Spellpower" } }, + ["Finger1"] = { itemID = 32527, name = "Ring of Ancient Knowledge", source = "BT - Trash Drop", enchant = { id = 0, name = "Spellpower" } }, + ["Hands"] = { itemID = 31050, name = "Gloves of the Malefic", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Spellpower" } }, + ["Head"] = { itemID = 31051, name = "Hood of the Malefic", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Power" } }, + ["Legs"] = { itemID = 31053, name = "Leggings of the Malefic", source = "BT - The Illidari Council", enchant = { id = 0, name = "Runic Spellthread" } }, + ["MainHand"] = { itemID = 32374, name = "Zhar'doom, Greatstaff of the Devourer", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Soulfrost" } }, + ["Neck"] = { itemID = 32349, name = "Translucent Spellthread Necklace", source = "BT - Reliquary of the Lost" }, + ["Ranged"] = { itemID = 33192, name = "Carved Witch Doctor's Stick", source = "Badge of Justice (25)" }, + ["Shoulder"] = { itemID = 31054, name = "Mantle of the Malefic", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Discipline" } }, + ["Trinket0"] = { itemID = 32483, name = "The Skull of Gul'dan", source = "BT - Illidan Stormrage" }, + ["Trinket1"] = { itemID = 33829, name = "Hex Shrunken Head", source = "Zul'Aman - Hex Lord Malacrass" }, + ["Waist"] = { itemID = 30888, name = "Anetheron's Noose", source = "Hyjal - Anetheron" }, + ["Wrist"] = { itemID = 32586, name = "Bracers of Nimble Thought", source = "Tailoring BoP Pattern (375)", enchant = { id = 0, name = "Spellpower" } }, +} + +-- WARRIOR ZA (Arms) +local WARRIOR_ARMS_ZA = { + ["Back"] = { itemID = 32323, name = "Shadowmoon Destroyer's Drape", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 30975, name = "Onslaught Breastplate", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32345, name = "Dreadboots of the Legion", source = "BT - Reliquary of the Lost", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 32497, name = "Stormrage Signet Ring", source = "BT - Illidan Stormrage" }, + ["Finger1"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Hands"] = { itemID = 30969, name = "Onslaught Gauntlets", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Major Strength" } }, + ["Head"] = { itemID = 30972, name = "Onslaught Battle-Helm", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 32341, name = "Leggings of Divine Retribution", source = "BT - Gurtogg Bloddboil", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 30902, name = "Cataclysm's Edge", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Executioner" } }, + ["Neck"] = { itemID = 32591, name = "Choker of Serrated Blades", source = "Hyjal - Trash Drop" }, + ["Ranged"] = { itemID = 33474, name = "Ancient Amani Longbow", source = "Zul'Aman - Zul'jin" }, + ["Shoulder"] = { itemID = 30979, name = "Onslaught Shoulderblades", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Trinket1"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 33513, name = "Eternium Rage-shackles", source = "Badge of Justice (35)", enchant = { id = 0, name = "Brawn" } }, +} + +-- WARRIOR ZA (Fury) +local WARRIOR_FURY_ZA = { + ["Back"] = { itemID = 32323, name = "Shadowmoon Destroyer's Drape", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 30975, name = "Onslaught Breastplate", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32345, name = "Dreadboots of the Legion", source = "BT - Reliquary of the Lost", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 32497, name = "Stormrage Signet Ring", source = "BT - Illidan Stormrage" }, + ["Finger1"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Hands"] = { itemID = 32278, name = "Grips of Silent Justice", source = "BT - Shade of Akama", enchant = { id = 0, name = "Major Strength" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 32341, name = "Leggings of Divine Retribution", source = "BT - Gurtogg Bloddboil", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 32838, name = "Warglaive of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Executioner" } }, + ["Neck"] = { itemID = 32260, name = "Choker of Endless Nightmares", source = "BT - Supremus" }, + ["Ranged"] = { itemID = 33474, name = "Ancient Amani Longbow", source = "Zul'Aman - Zul'jin" }, + ["SecondaryHand"] = { itemID = 32838, name = "Warglaive of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Mongoose" } }, + ["Shoulder"] = { itemID = 30979, name = "Onslaught Shoulderblades", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Trinket1"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 30863, name = "Deadly Cuffs", source = "Hyjal - Rage Winterchill", enchant = { id = 0, name = "Brawn" } }, +} + +-- WARRIOR ZA (Protection) +local WARRIOR_PROT_ZA = { + ["Back"] = { itemID = 33484, name = "Dory's Embrace", source = "Badge of Justice (60)", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 30975, name = "Onslaught Breastplate", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 33812, name = "Vindicator's Plate Greaves", source = "PvP - Honor & EotS Marks", enchant = { id = 0, name = "Boar's Speed" } }, + ["Finger0"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Finger1"] = { itemID = 33919, name = "Vindicator's Band of Triumph", source = "PvP - Honor & AV Marks" }, + ["Hands"] = { itemID = 32280, name = "Gauntlets of Enforcement", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Threat" } }, + ["Head"] = { itemID = 32521, name = "Faceplate of the Impenetrable", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 30977, name = "Onslaught Greaves", source = "BT - The Illidari Council", enchant = { id = 0, name = "Nethercleft Leg Armor" } }, + ["MainHand"] = { itemID = 32254, name = "The Brutalizer", source = "BT - Supremus", enchant = { id = 0, name = "Mongoose" } }, + ["Neck"] = { itemID = 33296, name = "Brooch of Deftness", source = "Badge of Justice (35)" }, + ["Ranged"] = { itemID = 32253, name = "Legionkiller", source = "BT - Supremus" }, + ["SecondaryHand"] = { itemID = 32375, name = "Bulwark of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Major Stamina" } }, + ["Shoulder"] = { itemID = 30979, name = "Onslaught Shoulderblades", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 28121, name = "Icon of Unyielding Courage", source = "Blood Furnace (H) - Keli'dan the Breaker" }, + ["Trinket1"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Waist"] = { itemID = 33811, name = "Vindicator's Plate Belt", source = "PvP - Honor & AB Marks" }, + ["Wrist"] = { itemID = 33516, name = "Bracers of the Ancient Phalanx", source = "Badge of Justice (35)", enchant = { id = 0, name = "Fortitude" } }, +} + +-- ROGUE ZA (Assassination) +local ROGUE_ASSASSINATION_ZA = { + ["Back"] = { itemID = 32323, name = "Shadowmoon Destroyer's Drape", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 31028, name = "Slayer's Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Finger1"] = { itemID = 32497, name = "Stormrage Signet Ring", source = "BT - Illidan Stormrage" }, + ["Hands"] = { itemID = 31026, name = "Slayer's Handguards", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Superior Agility" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 31029, name = "Slayer's Legguards", source = "BT - The Illidari Council", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 32471, name = "Shard of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Mongoose" } }, + ["Neck"] = { itemID = 32260, name = "Choker of Endless Nightmares", source = "BT - Supremus" }, + ["Ranged"] = { itemID = 29949, name = "Arcanite Steam-Pistol", source = "TK - Al'ar" }, + ["SecondaryHand"] = { itemID = 30901, name = "Boundless Agony", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Mongoose" } }, + ["Shoulder"] = { itemID = 31030, name = "Slayer's Shoulderpads", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Trinket1"] = { itemID = 30450, name = "Warp-Spring Coil", source = "TK - Void Reaver" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 32324, name = "Insidious Bands", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Assault" } }, +} + +-- ROGUE ZA (Combat / Subtlety) +local ROGUE_COMBAT_ZA = { + ["Back"] = { itemID = 32323, name = "Shadowmoon Destroyer's Drape", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 31028, name = "Slayer's Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Finger1"] = { itemID = 32497, name = "Stormrage Signet Ring", source = "BT - Illidan Stormrage" }, + ["Hands"] = { itemID = 31026, name = "Slayer's Handguards", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Superior Agility" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 31029, name = "Slayer's Legguards", source = "BT - The Illidari Council", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 32838, name = "Warglaive of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Mongoose" } }, + ["Neck"] = { itemID = 32260, name = "Choker of Endless Nightmares", source = "BT - Supremus" }, + ["Ranged"] = { itemID = 29949, name = "Arcanite Steam-Pistol", source = "TK - Al'ar" }, + ["SecondaryHand"] = { itemID = 32838, name = "Warglaive of Azzinoth", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Mongoose" } }, + ["Shoulder"] = { itemID = 31030, name = "Slayer's Shoulderpads", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Trinket1"] = { itemID = 30450, name = "Warp-Spring Coil", source = "TK - Void Reaver" }, + ["Waist"] = { itemID = 30106, name = "Belt of One-Hundred Deaths", source = "SSC - Lady Vashj" }, + ["Wrist"] = { itemID = 32324, name = "Insidious Bands", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Assault" } }, +} + +-- HUNTER ZA (Beast Mastery / Marksmanship) +local HUNTER_BM_ZA = { + ["Back"] = { itemID = 29994, name = "Thalassian Wildercloak", source = "TK - Kael'thas Sunstrider", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 31004, name = "Gronnstalker's Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Cat's Swiftness" } }, + ["Finger0"] = { itemID = 32497, name = "Stormrage Signet Ring", source = "BT - Illidan Stormrage" }, + ["Finger1"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)" }, + ["Hands"] = { itemID = 31001, name = "Gronnstalker's Gloves", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Superior Agility" } }, + ["Head"] = { itemID = 32235, name = "Cursed Vision of Sargeras", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 31005, name = "Gronnstalker's Leggings", source = "BT - The Illidari Council", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 29993, name = "Twinblade of the Phoenix", source = "TK - Kael'thas Sunstrider", enchant = { id = 0, name = "Major Agility" } }, + ["Neck"] = { itemID = 32260, name = "Choker of Endless Nightmares", source = "BT - Supremus" }, + ["Ranged"] = { itemID = 30906, name = "Bristleblitz Striker", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Stabilized Eternium Scope" } }, + ["Shoulder"] = { itemID = 31006, name = "Gronnstalker's Spaulders", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of Vengeance" } }, + ["Trinket0"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Trinket1"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Waist"] = { itemID = 30879, name = "Don Alejandro's Money Belt", source = "Hyjal - Anetheron" }, + ["Wrist"] = { itemID = 32324, name = "Insidious Bands", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Assault" } }, +} + +-- HUNTER ZA (Survival) +local HUNTER_SURVIVAL_ZA = { + ["Back"] = { itemID = 29994, name = "Thalassian Wildercloak", source = "TK - Kael'thas Sunstrider", enchant = { id = 0, name = "Greater Agility" } }, + ["Chest"] = { itemID = 31004, name = "Gronnstalker's Chestguard", source = "BT - Illidan Stormrage", enchant = { id = 0, name = "Exceptional Stats" } }, + ["Feet"] = { itemID = 32366, name = "Shadowmaster's Boots", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Dexterity" } }, + ["Finger0"] = { itemID = 33496, name = "Signet of Primal Wrath", source = "Zul'Aman - Timed Chest (3)", enchant = { id = 0, name = "Stats" } }, + ["Finger1"] = { itemID = 29301, name = "Band of the Eternal Champion", source = "The Scale of the Sands - Exalted", enchant = { id = 0, name = "Stats" } }, + ["Hands"] = { itemID = 31001, name = "Gronnstalker's Gloves", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Superior Agility" } }, + ["Head"] = { itemID = 31003, name = "Gronnstalker's Helmet", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Glyph of Ferocity" } }, + ["Legs"] = { itemID = 30900, name = "Bow-stitched Leggings", source = "Hyjal - Azgalor", enchant = { id = 0, name = "Nethercobra Leg Armor" } }, + ["MainHand"] = { itemID = 33492, name = "Trollbane", source = "Zul'Aman - Timed Chest (2)", enchant = { id = 0, name = "Major Agility" } }, + ["Neck"] = { itemID = 30017, name = "Telonicus's Pendant of Mayhem", source = "Quest Reward - Kael'thas and the Verdant Sphere" }, + ["Ranged"] = { itemID = 30906, name = "Bristleblitz Striker", source = "Hyjal - Archimonde", enchant = { id = 0, name = "Stabilized Eternium Scope" } }, + ["Shoulder"] = { itemID = 31006, name = "Gronnstalker's Spaulders", source = "BT - Mother Shahraz", enchant = { id = 0, name = "Greater Inscription of the Blade" } }, + ["Trinket0"] = { itemID = 33831, name = "Berserker's Call", source = "Zul'Aman - Zul'jin" }, + ["Trinket1"] = { itemID = 28830, name = "Dragonspine Trophy", source = "Gruul's Lair - Gruul the Dragonkiller" }, + ["Waist"] = { itemID = 30040, name = "Belt of Deep Shadow", source = "Leatherworking BoP Pattern (375)" }, + ["Wrist"] = { itemID = 32324, name = "Insidious Bands", source = "BT - Teron Gorefiend", enchant = { id = 0, name = "Stats" } }, +} + +local ROGUE_SUBTLETY_ZA = ROGUE_COMBAT_ZA + +local HUNTER_MM_ZA = HUNTER_BM_ZA + -- ============================================================================= -- BIS DATA REGISTRY -- ============================================================================= local BIS_DATA = { ["PRIEST"] = { - ["Discipline"] = { ["T4"] = PRIEST_HOLY_T4, ["T5"] = PRIEST_T5, ["T6"] = PRIEST_HOLY_T6 }, - ["Holy"] = { ["T4"] = PRIEST_HOLY_T4, ["T5"] = PRIEST_T5, ["T6"] = PRIEST_HOLY_T6 }, - ["Shadow"] = { ["T4"] = PRIEST_SHADOW_T4, ["T5"] = PRIEST_SHADOW_T5, ["T6"] = PRIEST_SHADOW_T6 }, + ["Discipline"] = { ["T4"] = PRIEST_HOLY_T4, ["T5"] = PRIEST_T5, ["T6"] = PRIEST_HOLY_T6, ["ZA"] = PRIEST_HOLY_ZA }, + ["Holy"] = { ["T4"] = PRIEST_HOLY_T4, ["T5"] = PRIEST_T5, ["T6"] = PRIEST_HOLY_T6, ["ZA"] = PRIEST_HOLY_ZA }, + ["Shadow"] = { ["T4"] = PRIEST_SHADOW_T4, ["T5"] = PRIEST_SHADOW_T5, ["T6"] = PRIEST_SHADOW_T6, ["ZA"] = PRIEST_SHADOW_ZA }, }, ["DRUID"] = { - ["Balance"] = { ["T4"] = DRUID_BALANCE_T4, ["T5"] = DRUID_BALANCE_T5, ["T6"] = DRUID_BALANCE_T6 }, - ["Feral Combat"] = { ["T4"] = DRUID_FERAL_T4, ["T6"] = DRUID_FERAL_T6 }, - ["Restoration"] = { ["T4"] = DRUID_RESTO_T4, ["T5"] = DRUID_RESTO_T5, ["T6"] = DRUID_RESTO_T6 }, + ["Balance"] = { ["T4"] = DRUID_BALANCE_T4, ["T5"] = DRUID_BALANCE_T5, ["T6"] = DRUID_BALANCE_T6, ["ZA"] = DRUID_BALANCE_ZA }, + ["Feral Combat"] = { ["T4"] = DRUID_FERAL_T4, ["T6"] = DRUID_FERAL_T6, ["ZA"] = DRUID_FERAL_ZA }, + ["Restoration"] = { ["T4"] = DRUID_RESTO_T4, ["T5"] = DRUID_RESTO_T5, ["T6"] = DRUID_RESTO_T6, ["ZA"] = DRUID_RESTO_ZA }, }, ["PALADIN"] = { - ["Holy"] = { ["T4"] = PALADIN_HOLY_T4, ["T5"] = PALADIN_HOLY_T5, ["T6"] = PALADIN_HOLY_T6 }, - ["Protection"] = { ["T4"] = PALADIN_PROT_T4, ["T6"] = PALADIN_PROT_T6 }, - ["Retribution"] = { ["T4"] = PALADIN_RET_T4, ["T6"] = PALADIN_RET_T6 }, + ["Holy"] = { ["T4"] = PALADIN_HOLY_T4, ["T5"] = PALADIN_HOLY_T5, ["T6"] = PALADIN_HOLY_T6, ["ZA"] = PALADIN_HOLY_ZA }, + ["Protection"] = { ["T4"] = PALADIN_PROT_T4, ["T6"] = PALADIN_PROT_T6, ["ZA"] = PALADIN_PROT_ZA }, + ["Retribution"] = { ["T4"] = PALADIN_RET_T4, ["T6"] = PALADIN_RET_T6, ["ZA"] = PALADIN_RET_ZA }, }, ["SHAMAN"] = { - ["Elemental"] = { ["T4"] = SHAMAN_ELEMENTAL_T4, ["T5"] = SHAMAN_ELEMENTAL_T5, ["T6"] = SHAMAN_ELEMENTAL_T6 }, - ["Enhancement"] = { ["T4"] = SHAMAN_ENHANCEMENT_T4, ["T5"] = SHAMAN_ENHANCEMENT_T5, ["T6"] = SHAMAN_ENHANCEMENT_T6 }, - ["Restoration"] = { ["T4"] = SHAMAN_RESTO_T4, ["T5"] = SHAMAN_RESTO_T5, ["T6"] = SHAMAN_RESTO_T6 }, + ["Elemental"] = { ["T4"] = SHAMAN_ELEMENTAL_T4, ["T5"] = SHAMAN_ELEMENTAL_T5, ["T6"] = SHAMAN_ELEMENTAL_T6, ["ZA"] = SHAMAN_ELEMENTAL_ZA }, + ["Enhancement"] = { ["T4"] = SHAMAN_ENHANCEMENT_T4, ["T5"] = SHAMAN_ENHANCEMENT_T5, ["T6"] = SHAMAN_ENHANCEMENT_T6, ["ZA"] = SHAMAN_ENHANCEMENT_ZA }, + ["Restoration"] = { ["T4"] = SHAMAN_RESTO_T4, ["T5"] = SHAMAN_RESTO_T5, ["T6"] = SHAMAN_RESTO_T6, ["ZA"] = SHAMAN_RESTO_ZA }, }, ["MAGE"] = { - ["Arcane"] = { ["T4"] = MAGE_ARCANE_T4, ["T5"] = MAGE_ARCANE_T5, ["T6"] = MAGE_ARCANE_T6 }, - ["Fire"] = { ["T4"] = MAGE_FIRE_T4, ["T5"] = MAGE_FIRE_T5, ["T6"] = MAGE_FIRE_T6 }, - ["Frost"] = { ["T4"] = MAGE_FROST_T4, ["T5"] = MAGE_FROST_T5, ["T6"] = MAGE_FROST_T6 }, + ["Arcane"] = { ["T4"] = MAGE_ARCANE_T4, ["T5"] = MAGE_ARCANE_T5, ["T6"] = MAGE_ARCANE_T6, ["ZA"] = MAGE_ARCANE_ZA }, + ["Fire"] = { ["T4"] = MAGE_FIRE_T4, ["T5"] = MAGE_FIRE_T5, ["T6"] = MAGE_FIRE_T6, ["ZA"] = MAGE_FIRE_ZA }, + ["Frost"] = { ["T4"] = MAGE_FROST_T4, ["T5"] = MAGE_FROST_T5, ["T6"] = MAGE_FROST_T6, ["ZA"] = MAGE_FROST_ZA }, }, ["WARRIOR"] = { - ["Arms"] = { ["T4"] = WARRIOR_ARMS_T4, ["T5"] = WARRIOR_ARMS_T5, ["T6"] = WARRIOR_ARMS_T6 }, - ["Fury"] = { ["T4"] = WARRIOR_FURY_T4, ["T5"] = WARRIOR_FURY_T5, ["T6"] = WARRIOR_FURY_T6 }, - ["Protection"] = { ["T4"] = WARRIOR_PROT_T4, ["T5"] = WARRIOR_PROT_T5, ["T6"] = WARRIOR_PROT_T6 }, + ["Arms"] = { ["T4"] = WARRIOR_ARMS_T4, ["T5"] = WARRIOR_ARMS_T5, ["T6"] = WARRIOR_ARMS_T6, ["ZA"] = WARRIOR_ARMS_ZA }, + ["Fury"] = { ["T4"] = WARRIOR_FURY_T4, ["T5"] = WARRIOR_FURY_T5, ["T6"] = WARRIOR_FURY_T6, ["ZA"] = WARRIOR_FURY_ZA }, + ["Protection"] = { ["T4"] = WARRIOR_PROT_T4, ["T5"] = WARRIOR_PROT_T5, ["T6"] = WARRIOR_PROT_T6, ["ZA"] = WARRIOR_PROT_ZA }, }, ["ROGUE"] = { - ["Assassination"] = { ["T4"] = ROGUE_ASSASSINATION_T4, ["T5"] = ROGUE_ASSASSINATION_T5, ["T6"] = ROGUE_ASSASSINATION_T6 }, - ["Combat"] = { ["T4"] = ROGUE_COMBAT_T4, ["T5"] = ROGUE_COMBAT_T5, ["T6"] = ROGUE_COMBAT_T6 }, - ["Subtlety"] = { ["T4"] = ROGUE_SUBTLETY_T4, ["T5"] = ROGUE_SUBTLETY_T5, ["T6"] = ROGUE_SUBTLETY_T6 }, + ["Assassination"] = { ["T4"] = ROGUE_ASSASSINATION_T4, ["T5"] = ROGUE_ASSASSINATION_T5, ["T6"] = ROGUE_ASSASSINATION_T6, ["ZA"] = ROGUE_ASSASSINATION_ZA }, + ["Combat"] = { ["T4"] = ROGUE_COMBAT_T4, ["T5"] = ROGUE_COMBAT_T5, ["T6"] = ROGUE_COMBAT_T6, ["ZA"] = ROGUE_COMBAT_ZA }, + ["Subtlety"] = { ["T4"] = ROGUE_SUBTLETY_T4, ["T5"] = ROGUE_SUBTLETY_T5, ["T6"] = ROGUE_SUBTLETY_T6, ["ZA"] = ROGUE_SUBTLETY_ZA }, }, ["HUNTER"] = { - ["Beast Mastery"] = { ["T4"] = HUNTER_BM_T4, ["T5"] = HUNTER_BM_T5, ["T6"] = HUNTER_BM_T6 }, - ["Marksmanship"] = { ["T4"] = HUNTER_MM_T4, ["T5"] = HUNTER_MM_T5, ["T6"] = HUNTER_MM_T6 }, - ["Survival"] = { ["T4"] = HUNTER_SURVIVAL_T4, ["T5"] = HUNTER_SURVIVAL_T5, ["T6"] = HUNTER_SURVIVAL_T6 }, + ["Beast Mastery"] = { ["T4"] = HUNTER_BM_T4, ["T5"] = HUNTER_BM_T5, ["T6"] = HUNTER_BM_T6, ["ZA"] = HUNTER_BM_ZA }, + ["Marksmanship"] = { ["T4"] = HUNTER_MM_T4, ["T5"] = HUNTER_MM_T5, ["T6"] = HUNTER_MM_T6, ["ZA"] = HUNTER_MM_ZA }, + ["Survival"] = { ["T4"] = HUNTER_SURVIVAL_T4, ["T5"] = HUNTER_SURVIVAL_T5, ["T6"] = HUNTER_SURVIVAL_T6, ["ZA"] = HUNTER_SURVIVAL_ZA }, }, ["WARLOCK"] = { - ["Affliction"] = { ["T4"] = WARLOCK_T4, ["T5"] = WARLOCK_AFFLICTION_T5, ["T6"] = WARLOCK_T6 }, - ["Demonology"] = { ["T4"] = WARLOCK_T4, ["T5"] = WARLOCK_T5, ["T6"] = WARLOCK_T6 }, - ["Destruction"] = { ["T4"] = WARLOCK_T4, ["T5"] = WARLOCK_T5, ["T6"] = WARLOCK_T6 }, + ["Affliction"] = { ["T4"] = WARLOCK_T4, ["T5"] = WARLOCK_AFFLICTION_T5, ["T6"] = WARLOCK_T6, ["ZA"] = WARLOCK_ZA }, + ["Demonology"] = { ["T4"] = WARLOCK_T4, ["T5"] = WARLOCK_T5, ["T6"] = WARLOCK_T6, ["ZA"] = WARLOCK_ZA }, + ["Destruction"] = { ["T4"] = WARLOCK_T4, ["T5"] = WARLOCK_T5, ["T6"] = WARLOCK_T6, ["ZA"] = WARLOCK_ZA }, }, } diff --git a/Amibis/Tests/README.md b/Amibis/Tests/README.md index 4b595a9..402f040 100644 --- a/Amibis/Tests/README.md +++ b/Amibis/Tests/README.md @@ -23,7 +23,7 @@ apt-get download lua5.4 && dpkg -x lua5.4_*.deb /tmp/lua && /tmp/lua/usr/bin/lua | File | Covers | |---|---| -| `test_data.lua` | `BIS_DATA` registry: 9 classes × 3 specs, well-formed slot entries (valid slots, positive item IDs, non-empty names/sources, optional enchant shape), canonical phase order, `ResolvePhase` fallback, shared-list invariants, T6 spot checks | +| `test_data.lua` | `BIS_DATA` registry: 9 classes × 3 specs, well-formed slot entries (valid slots, positive item IDs, non-empty names/sources, optional enchant shape), canonical phase order, `ResolvePhase` fallback, shared-list invariants, T4/T5/ZA spot checks | | `test_stats.lua` | `ScanItemStats`: MAX aggregation across alias keys (spell damage schools, healing, haste/crit/mp5 ratings), single-mapping pass-through, unmapped key filtering, nil handling | | `test_compare.lua` | `CompareGear`: BIS counting, upgrade ranking by stat gain, positive-diffs-only scoring, spec-specific stat keys (Shadow counts spell damage, Holy counts healing), phase resolution, `GetStatKeysForSpec`, `GetCompletionRatio` | diff --git a/Amibis/Tests/test_compare.lua b/Amibis/Tests/test_compare.lua index 2861ebf..d8a10c6 100644 --- a/Amibis/Tests/test_compare.lua +++ b/Amibis/Tests/test_compare.lua @@ -254,12 +254,12 @@ describe("latest phase progress", function() it("exposes the latest phase and nil ratio while stats load", function() local data = ns.Amibis:CompareGear() - expect(data.latestPhase).toEqual("T6") + expect(data.latestPhase).toEqual("ZA") expect(data.latestCompletionRatio).toBeNil() end) it("measures progress against the latest phase, not the selected one", function() - local latestList = ns.Data.BISLists:GetBISList("PRIEST", "Shadow", "T6") + local latestList = ns.Data.BISLists:GetBISList("PRIEST", "Shadow", "ZA") local oldList = ns.Data.BISLists:GetBISList("PRIEST", "Shadow", "T4") for slot, entry in pairs(oldList) do MockItems[entry.itemID] = { @@ -283,16 +283,18 @@ describe("latest phase progress", function() AmibisDB.selectedPhase = "T4" local data = ns.Amibis:CompareGear() expect(data.phase).toEqual("T4") - expect(data.latestPhase).toEqual("T6") + expect(data.latestPhase).toEqual("ZA") expect(ns.Amibis:GetCompletionRatio(data)).toBeCloseTo(1.0) expect(data.latestCompletionRatio < 1.0).toBeTruthy() expect(data.latestCompletionRatio > 0.3).toBeTruthy() end) - it("ratio matches for T6-only lists (latest equals selected)", function() - local list = ns.Data.BISLists:GetBISList("PALADIN", "Protection", "T6") + it("ratio matches when the latest phase is also selected", function() + local list = ns.Data.BISLists:GetBISList("PRIEST", "Shadow", "ZA") expect(list).toBeTruthy() + AmibisDB.selectedPhase = "ZA" local data = ns.Amibis:CompareGear() - expect(data.latestPhase).toEqual("T6") + expect(data.phase).toEqual("ZA") + expect(data.latestPhase).toEqual("ZA") end) end) diff --git a/Amibis/Tests/test_data.lua b/Amibis/Tests/test_data.lua index 1be092c..5587926 100644 --- a/Amibis/Tests/test_data.lua +++ b/Amibis/Tests/test_data.lua @@ -65,17 +65,19 @@ describe("phase ordering and resolution", function() expect(phases[1]).toEqual("T4") expect(phases[2]).toEqual("T5") expect(phases[3]).toEqual("T6") + expect(phases[4]).toEqual("ZA") end) it("reports the latest phase for every spec", function() for _, class in ipairs(BIS:GetAvailableClasses()) do for _, spec in ipairs(BIS:GetAvailableSpecs(class)) do - expect(BIS:GetLatestPhase(class, spec)).toEqual("T6") + expect(BIS:GetLatestPhase(class, spec)).toEqual("ZA") end end end) it("keeps the saved phase when it exists", function() + expect(BIS:ResolvePhase("PRIEST", "Shadow", "ZA")).toEqual("ZA") expect(BIS:ResolvePhase("PRIEST", "Shadow", "T6")).toEqual("T6") expect(BIS:ResolvePhase("PRIEST", "Shadow", "T5")).toEqual("T5") end) @@ -164,6 +166,64 @@ describe("T5 (Phase 2) data", function() end) end) +describe("ZA (Phase 4) data", function() + it("covers every spec", function() + for _, class in ipairs(BIS:GetAvailableClasses()) do + for _, spec in ipairs(BIS:GetAvailableSpecs(class)) do + local list = BIS:GetBISList(class, spec, "ZA") + expect(list).toBeTruthy() + end + end + end) + + it("shadow priest ZA neck comes from Zul'jin", function() + local list = BIS:GetBISList("PRIEST", "Shadow", "ZA") + expect(list["Neck"].itemID).toEqual(33466) + expect(list["Neck"].name).toEqual("Loop of Cursed Bones") + expect(list["Neck"].source).toEqual("Zul'Aman - Zul'jin") + end) + + it("hunter BM and MM share the ZA list", function() + local bm = BIS:GetBISList("HUNTER", "Beast Mastery", "ZA") + expect(BIS:GetBISList("HUNTER", "Marksmanship", "ZA")).toEqual(bm) + expect(bm["Trinket0"].name).toEqual("Berserker's Call") + expect(bm["Trinket0"].source).toEqual("Zul'Aman - Zul'jin") + end) + + it("discipline priest shares the holy ZA list", function() + expect(BIS:GetBISList("PRIEST", "Discipline", "ZA")) + .toEqual(BIS:GetBISList("PRIEST", "Holy", "ZA")) + end) + + it("all three warlock specs share the ZA list", function() + local affliction = BIS:GetBISList("WARLOCK", "Affliction", "ZA") + expect(BIS:GetBISList("WARLOCK", "Demonology", "ZA")).toEqual(affliction) + expect(BIS:GetBISList("WARLOCK", "Destruction", "ZA")).toEqual(affliction) + end) + + it("every list includes at least one Zul'Aman drop", function() + for _, class in ipairs(BIS:GetAvailableClasses()) do + for _, spec in ipairs(BIS:GetAvailableSpecs(class)) do + local list = BIS:GetBISList(class, spec, "ZA") + local found = false + for _, entry in pairs(list) do + if entry.source:find("Zul'Aman", 1, true) then + found = true + break + end + end + expect(found).toBeTruthy() + end + end + end) + + it("excludes items that are not available until Sunwell", function() + local list = BIS:GetBISList("PALADIN", "Holy", "ZA") + expect(list["MainHand"].itemID).toEqual(32500) + expect(list["MainHand"].name).toEqual("Crystal Spire of Karabor") + end) +end) + describe("source formatting", function() it("dash-joins quest rewards", function() local list = BIS:GetBISList("PRIEST", "Holy", "T5") diff --git a/README.md b/README.md index b25c02a..a34a5e7 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ A World of Warcraft: The Burning Crusade Classic addon that compares your equipp - **Shift+Click** a row to link the BIS item in chat - **Ctrl+Click** a row to open the dress-up preview - **Hover** a row to see the item tooltip +- **Click a phase segment** (T4 | T5 | T6 | ZA) to switch the comparison target ## Adding BIS Lists @@ -76,7 +77,7 @@ local BIS_DATA = { - Class keys must match WoW's English class constants: `"WARRIOR"`, `"PRIEST"`, `"MAGE"`, etc. (all caps) - Spec names must match the values in `Amibis:GetPlayerSpec()` (e.g. `"Discipline"`, `"Holy"`, `"Arms"`) -- Phase keys are strings like `"T5"`, `"T6"` — the default phase is set in `Amibis.lua` under `DEFAULT_AMIBIS_DB.selectedPhase` +- Phase keys are strings like `"T5"`, `"T6"`, `"ZA"` — the default phase is set in `Amibis.lua` under `DEFAULT_AMIBIS_DB.selectedPhase` ## Installation