Simplify spellbook tabs to class specialties + General

Only SkillLine category 7 (Class) gets its own tab, giving the 3 spec tabs
(e.g. Discipline/Holy/Shadow for Priest). Weapon skills, racials, professions,
and utility spells all go into the General tab.
This commit is contained in:
Kelsi 2026-02-06 21:27:34 -08:00
parent 848f419ac4
commit 6296c32a47
2 changed files with 25 additions and 33 deletions

View file

@ -57,6 +57,7 @@ private:
// Skill line data (loaded from SkillLine.dbc + SkillLineAbility.dbc)
bool skillLineDbLoaded = false;
std::unordered_map<uint32_t, std::string> skillLineNames; // skillLineID -> name
std::unordered_map<uint32_t, uint32_t> skillLineCategories; // skillLineID -> categoryID
std::unordered_map<uint32_t, uint32_t> spellToSkillLine; // spellID -> skillLineID
// Categorized spell tabs (rebuilt when spell list changes)