DopingControl v0.6.4
This commit is contained in:
+22
-8
@@ -1,5 +1,5 @@
|
||||
-- DopingControl data/enchants.lua
|
||||
-- Equipment tab: 14 enchant slots + 2 item-tile slots (both trinkets), in
|
||||
-- Equipment tab: 15 enchant slots + 2 item-tile slots (both trinkets), in
|
||||
-- paperdoll order, with 1.12 inventory slot IDs.
|
||||
-- Enchant columns are checked present/missing only (enchant ID in the item
|
||||
-- link ~= 0); an EMPTY enchant slot is always a gap (core/model.lua), so it
|
||||
@@ -7,13 +7,26 @@
|
||||
-- question is. Item-tile slots (trinkets) show the equipped item and
|
||||
-- ignore expectations entirely; only an EMPTY slot counts as a gap there.
|
||||
--
|
||||
-- Server note: neck and both rings ARE enchantable on this server (a
|
||||
-- server-custom feature beyond vanilla WoW, where they take no enchant) --
|
||||
-- NECK/R1/R2 are therefore kind="ench" like any armor slot, not item
|
||||
-- tiles. Their expectation defaults to OFF (data/expectations.lua): unlike
|
||||
-- the ARMOR enchant slots, a neck/ring enchant is not assumed baseline
|
||||
-- raid gear, so the columns only track it once a role/class opts in via
|
||||
-- the options grid.
|
||||
-- Server note: neck, both rings AND the waist ARE enchantable on this
|
||||
-- server (a server-custom feature beyond vanilla WoW, where none of them
|
||||
-- take an enchant) -- NECK/R1/R2/WAIST are therefore kind="ench" like any
|
||||
-- armor slot, not item tiles. The waist enchant is a "Belt Buckle" item
|
||||
-- (Copper/Bronze/Thorium/Dreamsteel/Bloody Belt Buckle),
|
||||
-- the same custom itemization line as the neck/ring gems. Their
|
||||
-- expectation defaults to OFF (data/expectations.lua): unlike the ARMOR
|
||||
-- enchant slots, a neck/ring/waist enchant is not assumed baseline raid
|
||||
-- gear, so the columns only track it once a role/class opts in via the
|
||||
-- options grid.
|
||||
--
|
||||
-- Bug history (2026-08-30): the waist (invSlot 6) was missing from this
|
||||
-- table entirely -- not a deliberate exclusion, an oversight that predates
|
||||
-- the Belt Buckle KG lookup above. Because scan/gear.lua's G.InvSlots()
|
||||
-- derives the full GetInventoryItemLink read list from THIS table, the
|
||||
-- omission silently dropped the waist from every equipment read: no raid
|
||||
-- dump ever carried a ";6=" entry, and the HIT tab under-counted any
|
||||
-- +hit/+resist on a belt (scan/hit.lua's H.SLOTS already listed 6 and
|
||||
-- expected scan/gear.lua's rawLinks to cover it -- see that file's
|
||||
-- ReadUnit comment). Adding WAIST here fixes both at the source.
|
||||
-- Pure Lua 5.0, no WoW API -- dofile-loadable offline.
|
||||
|
||||
DopingControl = DopingControl or {}
|
||||
@@ -30,6 +43,7 @@ DC.SLOTS_EQUIPMENT = {
|
||||
{ id = "SHLD", label = "SHO", sub = "slot 3", full = "Shoulders", kind = "ench", invSlot = 3 },
|
||||
{ id = "BACK", label = "BCK", sub = "slot 15", full = "Back", kind = "ench", invSlot = 15 },
|
||||
{ id = "CHST", label = "CHE", sub = "slot 5", full = "Chest", kind = "ench", invSlot = 5 },
|
||||
{ id = "WAIST", label = "WAI", sub = "slot 6", full = "Waist", kind = "ench", invSlot = 6 }, -- enchantable on this server (custom Belt Buckle line, unlike vanilla)
|
||||
{ id = "WRST", label = "WRI", sub = "slot 9", full = "Wrist", kind = "ench", invSlot = 9 },
|
||||
{ id = "HAND", label = "HND", sub = "slot 10", full = "Hands", kind = "ench", invSlot = 10 },
|
||||
{ id = "LEGS", label = "LEG", sub = "slot 7", full = "Legs", kind = "ench", invSlot = 7 },
|
||||
|
||||
Reference in New Issue
Block a user