6badf0e7ea
New Collectors/Spellbook.lua walks GetNumSpellTabs() and emits one entry
per tab with name, texture, offset, numSpells, and a spells[] array of
{ slot, name, rank, spellID, icon }.
3.3.5/Ascension API differences are handled defensively: name comes
from GetSpellBookItemInfo or vanilla GetSpellName; spellID is parsed
out of GetSpellLink (3.3.5 doesn't return it from GetSpellBookItemInfo);
icon falls back to GetSpellTexture if GetSpellInfo doesn't have it yet.
Wiring:
- CoaExporter.toc: load Collectors/Spellbook.lua after Talents
- Core.lua: AssembleExport() includes spellbook for all + spellbook
- Core.lua: HandleExport() accepts /coae export spellbook
- Core.lua: debug output shows tab + spell counts
- UI/ExportFrame.lua: "Spellbook" button in the Character section
24 lines
625 B
TeX
24 lines
625 B
TeX
## Interface: 30300
|
|
## Title: CoA Exporter
|
|
## Notes: Per-character export (talents/gear/mystic enchants/scrolls) + game-data catalog dump (skills/dispels/passives/talents) for db.exil.es
|
|
## Author: Subd from CoA / Exiles EU
|
|
## Version: 1.0.0
|
|
## SavedVariables: CoaExporterSaved, CoaExporterConfig, CoaExporterScrollCache, CoaExporterCatalog
|
|
|
|
Util\Json.lua
|
|
Data\ScrollCatalog.lua
|
|
|
|
Collectors\Talents.lua
|
|
Collectors\Spellbook.lua
|
|
Collectors\Gear.lua
|
|
Collectors\Enchants.lua
|
|
Collectors\MysticScrolls.lua
|
|
Collectors\MysticScrollProbe.lua
|
|
|
|
Catalogs\Common.lua
|
|
Catalogs\Skills.lua
|
|
Catalogs\Talents.lua
|
|
|
|
UI\ExportFrame.lua
|
|
Core.lua
|