Files
amibis/README.md
T
dfj d8fefc947e Close the window when Escape is pressed
Register the main frame ("AmibisMainFrame") in UISpecialFrames so Escape
hides it and suppresses the game menu while it is open, matching the
default UI panels.

Move the stats-retry timer cleanup into the frame's OnHide script so the
close button, Escape, and /amibis all stop the timer.

Tests: the mock now registers named frames in _G and runs OnHide scripts.
The UI suite simulates FrameXML's CloseSpecialWindows() and asserts the
frame hides and the retry timer is cleared. 108 passing.
2026-10-24 13:57:09 +02:00

3.3 KiB

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
  • Press Escape to close the window (registered in UISpecialFrames)
  • 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 in Amibis.lua under DEFAULT_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