Skip to content

fix: correct TalentMap indices for all classes (#21)#22

Merged
Xerrion merged 3 commits intomasterfrom
fix/21-talentmap-indices-all-classes
Mar 1, 2026
Merged

fix: correct TalentMap indices for all classes (#21)#22
Xerrion merged 3 commits intomasterfrom
fix/21-talentmap-indices-all-classes

Conversation

@Xerrion
Copy link
Collaborator

@Xerrion Xerrion commented Mar 1, 2026

Description

Verified and corrected all TalentMap talent positions (tab:index) for every supported class against in-game GetTalentInfo output on TBC Anniversary client (1.15.x). TBC Anniversary reorders talents by internal talentID rather than visual grid position, causing many talent lookups to silently fail.

Four classes had incorrect indices: Priest (7/8 entries), Warrior (10/11), Rogue (15/17), and Paladin (8/9). Three classes (Mage, Druid, Shaman) were already correct and received documentation-only updates with grid layout comments.

All TalentMap files now include full grid layout documentation showing the talent tree ordered by internal talentID, matching the in-game API.

Also fixed the .busted config pattern from _spec to test_ to match the actual test file naming convention, and updated all test files to use the corrected talent keys.

Closes #21

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Refactor (non-breaking change that improves code quality)
  • Documentation update
  • Breaking change (fix or feature that would cause existing functionality to change)

Related Issues

Fixes #21

Testing

  • Luacheck passes (luacheck .) - 0 warnings / 0 errors in 74 files
  • Busted tests pass - 1100 successes, 22 pre-existing warlock failures unrelated to this change
  • Tested in-game manually
  • WoW version(s) tested on: TBC Anniversary (1.15.x) - talent indices verified via GetTalentInfo dumps

Checklist

  • My code follows the project's code style (4-space indent, 120 char lines)
  • I have tested my changes in-game
  • Luacheck reports no warnings
  • My commits follow conventional commit format

Verified all TalentMap talent positions (tab:index) against in-game
GetTalentInfo output on TBC Anniversary client (1.15.x).

Classes corrected (key changes):
- Priest: 7 of 8 entries
- Warrior: 10 of 11 entries + deferred comments
- Rogue: 15 of 17 entries + deferred comments
- Paladin: 8 of 9 entries

Classes verified correct (docs only):
- Mage: all 21 entries already correct
- Druid: all 19 entries already correct
- Shaman: all 12 entries already correct

All files now include grid layout documentation showing the full
talent tree ordered by internal talentID, matching the in-game API.

Also fixed .busted config pattern from '_spec' to 'test_' to match
actual test file naming convention.
@Xerrion Xerrion added the bug Something isn't working label Mar 1, 2026
Updated test files (test_modifiercalc, test_critcalc, test_new_spells,
test_pipeline) to use reindexed Warlock TalentMap keys from PR #19.

Fixed Master Demonologist talentAmplify.talentKey in AuraMap_Warlock
from 2:16 (Soul Link) to 2:11 (Master Demonologist).
@Xerrion Xerrion self-assigned this Mar 1, 2026
- Extract shared Format module (colors, symbols, FormatNumber, FormatDPS)
- Add spell name and rank header line with school-colored text
- Restore labeled detail lines (Coeff, Cast, Talents, Stats, Breakdown)
- Hide 0% crit for DoT-only spells
- Use directCoefficient/dotCoefficient for safe hybrid display
- Replace non-rendering Unicode escapes with ASCII alternatives
- Deduplicate FormatNumber between Tooltip and ActionBar
@Xerrion Xerrion merged commit 911e925 into master Mar 1, 2026
2 checks passed
@Xerrion Xerrion deleted the fix/21-talentmap-indices-all-classes branch March 1, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: TalentMap indices incorrect for all classes on TBC Anniversary

1 participant