5fba4ac10c244b6dc590d55ed5d63d2b9c419827
The bar could change when switching phases: latestCompletionRatio was nil until the selected phase's stats were complete AND the latest list was cached, and the UI then fell back to the selected phase's own completion ratio. Right after login the latest list's items are often not cached yet, so switching phases visibly moved the bar. Always compute a latest-phase ratio inside CompareGear: stats-based when both the latest list and the equipped items are cached, otherwise slot completion against the latest list. Return latestStatsComplete so the UI can mark the estimate with "~" and keep retrying until stats load (capped at 20 attempts). The UI now uses latestCompletionRatio directly instead of falling back to the selected phase. Also refresh on PLAYER_EQUIPMENT_CHANGED so gear swaps update the bar. Tests: phase-independent ratio, slot-based fallback while the latest list is uncached, and equal ratios across selected phases once cached. 106 passing.
Amibis
Beware this is AI slop. I don't usually work with LUA and haven't really done any verification beyond making sure there aren't rogue loops running calculations constantly
A World of Warcraft: The Burning Crusade Classic addon that compares your equipped gear against Best-in-Slot lists sourced from wowtbc.gg.
Features
- Gear Comparison — See at a glance which slots are BIS and which can be upgraded
- Auto-Detection — Automatically detects your class and active talent spec
- Stats Comparison — Side-by-side stat breakdown tailored to your spec (spell damage/hit/crit/haste for casters, strength/AP/expertise for melee, stamina/mitigation for tanks, healing/spirit/MP5 for healers)
- Upgrade Highlight — Identifies your biggest available upgrade
- Persistent Settings — Window position and spec overrides saved per character
Usage
| Command | Description |
|---|---|
/amibis |
Toggle the comparison window |
/amibis spec <SpecName> |
Override auto-detected spec (e.g. /amibis spec Holy) |
/amibis spec clear |
Reset spec override to auto-detection |
Interacting with the window
- Drag the title bar to reposition (position is saved)
- 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
BIS data lives in Amibis/Data/BISLists.lua. Each list follows this structure:
1. Define a class table
local WARRIOR_T5 = {
["Head"] = {
itemID = 12345,
name = "Helm of the Fallen Defender",
source = "SSC - Lady Vashj",
enchant = { id = 35445, name = "Glyph of Renewal" }, -- optional
},
-- ... repeat for each slot
}
2. Supported slots
Head, Neck, Shoulder, Back, Chest, Wrist, Hands, Waist, Legs, Feet, Finger0, Finger1, Trinket0, Trinket1, MainHand, SecondaryHand, Ranged
3. Register in BIS_DATA
local BIS_DATA = {
["PRIEST"] = {
["Discipline"] = { ["T5"] = PRIEST_T5 },
["Holy"] = { ["T5"] = PRIEST_T5 },
},
["WARRIOR"] = {
["Protection"] = { ["T5"] = WARRIOR_T5 },
},
}
Field reference
| Field | Required | Description |
|---|---|---|
itemID |
Yes | WoW item ID (number) |
name |
Yes | Display name |
source |
Yes | Where it drops (e.g. "TK - Kael'thas Sunstrider") |
enchant |
No | { id = <spellID>, name = "<Enchant Name>" } |
Important
- 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","ZA"— the default phase is set inAmibis.luaunderDEFAULT_AMIBIS_DB.selectedPhase
Installation
Copy the Amibis folder into your WoW addon directory:
World of Warcraft/Interface/AddOns/Amibis/
Required files:
Amibis/
├── Amibis.toc
├── Amibis.lua
├── Data/
│ └── BISLists.lua
└── UI/
└── ComparisonFrame.lua
Languages
Lua
100%