Refresh T5 BiS lists from wowtbc.gg and normalize source formatting

All 20 T5 tables regenerated from the current wowtbc.gg page-data
JSON (same group/raid-variant extraction as T4/T6): fixes 9 stale items
(Quagmirran's Eye trinket, Corruptor set, Shapeshifter's Signet,
Ranger-General's Chestguard, Band of Eternity v2, etc.) and aligns
slot sets with the site's default view. Warlock T5 now splits:
Affliction gets WARLOCK_AFFLICTION_T5 (Corruptor), Demonology and
Destruction keep Voidheart. Source strings normalized: quest rewards
and dungeon bosses dash-joined, professions space-joined, site typos
folded (Mother Sharaz, Karanthress, Blood Furnace HC). 81 tests.
This commit is contained in:
dfj committed 2026-10-11 16:41:29 +02:00
1 parent 7fda3db472
commit 48040c3ae1
3 files changed
+452 -411

No files matched your search

+2 -2
View File
@@ -26,14 +26,14 @@ Amibis/
- **SavedVariables**: `AmibisDB` (account-wide, stores selected phase), `AmibisCharDB` (per-character, stores frame position + spec override) - **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` - **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. - **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) and T6 (Phase 3) populated for all 9 classes; T5 (Phase 2) populated for the original specs (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), 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.
## Adding new BIS data ## Adding new BIS data
1. Add a `local CLASS_T4 = { ... }` table in `Data/BISLists.lua` following the existing `PRIEST_T4` structure 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 2. Register it in `BIS_DATA` under the appropriate class/spec/phase key
3. Each slot entry: `{ itemID, name, source, enchant? }` 3. Each slot entry: `{ itemID, name, source, enchant? }`
4. Ensure class name matches WoW's English class constant (e.g. `"WARRIOR"`, not `"Warrior"`) 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). T4/T6 data is sourced from wowtbc.gg `page-data` JSON (the per-phase `bis` variants, group/raid-flagged). 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.
## UI conventions ## UI conventions
- ElvUI-style dark backdrop (`{0.07, 0.07, 0.07}`, alpha 0.95) - ElvUI-style dark backdrop (`{0.07, 0.07, 0.07}`, alpha 0.95)
+413 -409
View File
File diff suppressed because it is too large. Load diff
+37
View File
@@ -143,3 +143,40 @@ describe("T4 (Phase 1) data", function()
expect(BIS:GetBISList("PALADIN", "Protection", "T5")).toBeNil() expect(BIS:GetBISList("PALADIN", "Protection", "T5")).toBeNil()
end) end)
end) end)
describe("T5 (Phase 2) data", function()
it("shadow priest T5 trinket is current site data", function()
local list = BIS:GetBISList("PRIEST", "Shadow", "T5")
expect(list["Trinket1"].itemID).toEqual(27683)
expect(list["Trinket1"].name).toEqual("Quagmirran's Eye")
end)
it("warlock T5 splits between affliction and demonology/destruction", function()
local affliction = BIS:GetBISList("WARLOCK", "Affliction", "T5")
local demonology = BIS:GetBISList("WARLOCK", "Demonology", "T5")
local destruction = BIS:GetBISList("WARLOCK", "Destruction", "T5")
expect(affliction["Shoulder"].name).toEqual("Mantle of the Corruptor")
expect(demonology["Shoulder"].name).toEqual("Voidheart Mantle")
expect(demonology).toEqual(destruction)
local count = 0
for _ in pairs(affliction) do count = count + 1 end
expect(count >= 15).toBeTruthy()
end)
end)
describe("source formatting", function()
it("dash-joins quest rewards", function()
local list = BIS:GetBISList("PRIEST", "Holy", "T5")
expect(list["Neck"].source).toEqual("Quest Reward - Kael'thas and the Verdant Sphere")
end)
it("dash-joins heroic dungeon bosses", function()
local list = BIS:GetBISList("DRUID", "Balance", "T5")
expect(list["Trinket1"].source).toEqual("Slave Pens (H) - Quagmirran")
end)
it("space-joins profession vendors", function()
local list = BIS:GetBISList("DRUID", "Balance", "T5")
expect(list["Legs"].source).toEqual("Tailoring BoP Pattern (375)")
end)
end)