No description
Find a file
Florian Berthold 68701d7d42
All checks were successful
release / release (push) Successful in 2s
feat(TankMode): CoA custom-class role detection via active spec
Add CoAClassSpecData.lua (copied from coa-db/data) and wire
GetPlayerCoARole() into TankMode so CoA tokens resolve TANK/HEALER/DAMAGER
from their active spec instead of defaulting to DAMAGER.

- CoAClassSpecData.lua: defines CoAClassSpec keyed by UnitClass token,
  loaded in .toc before Core.xml/Modules.xml
- GetPlayerCoARole(): pcall-guarded helper that calls
  SpecializationUtil.GetActiveSpecialization() (1-based index) to look up
  the current spec in CoAClassSpec[token].specs; TANK > HEALER > DAMAGER
  precedence when a spec carries multiple roles; returns nil for vanilla
  classes so the existing IsTank/IsHealer path is unchanged
- mod:Update(): try GetPlayerCoARole() first; fall through to vanilla
  logic only when nil (vanilla class or unresolvable spec)
- Re-evaluation on spec change already covered: PLAYER_TALENT_UPDATE
  fires on both spec and talent changes, driving mod:Update()

luac -p: TankMode.lua OK, CoAClassSpecData.lua OK
2026-05-30 01:28:59 +02:00
.gitea/workflows ci(release): hide auto-generated source archives (hide_archive_links) 2026-05-29 20:51:17 +02:00
Kui_Nameplates feat(TankMode): CoA custom-class role detection via active spec 2026-05-30 01:28:59 +02:00
Kui_Nameplates_Auras Initial Commit 2023-05-22 20:03:54 -07:00
tools ci: respect GITHUB_REPOSITORY + tolerate per-asset upload failures 2026-05-25 12:16:37 +02:00
.gitattributes ci: preserve upstream line endings (CRLF) for clean upstream diffs 2026-05-08 04:03:12 +02:00
.gitignore ci: add Gitea Actions release workflow (per-addon git-archive zip) 2026-05-25 12:01:35 +02:00
README.md Initial Commit 2023-05-22 20:03:54 -07:00

KuiNameplates

This is the repository for KuiNameplates. Modified for Ascension.gg.