Expand custom affix stat mods (RESIL, DEF, RAP, per-school resist, …) #5

Closed
opened 2026-07-07 05:56:16 +00:00 by denise · 1 comment
Owner

Context

Custom engine supports ~21 statMod codes. WotLK/AC item stats still missing from affix rolls and ApplyCustomAffixStats.

High-value gaps

Code Notes
RESIL PvP defensive rating (CR_CRIT_TAKEN_*)
DEF Tank defense rating
RAP Ranged attack power (separate from melee AP)
MANA Flat maximum mana (not just MP5)
HP5 Health regeneration (distinct from MP5)
Per-school resist FIRE, FROST, NATURE, SHADOW, ARCANE, HOLY
Ranged split ratings Ranged hit/crit/haste if AC exposes separate combat ratings
FAP Feral attack power

SPPEN shipped in PR #3.

Work

  • Add statMod handlers in random_enchants_custom.cpp using AC rating/bonus APIs
  • Seed affix definitions in SQL (balanced bands per loot tier)
  • Update docs/ADDON_PROTOCOL.md stat code table
  • Sync IllidariAffix AffixData.lua labels/icons for new codes

Acceptance

  • Each new code applies/removes correctly on equip/unequip
  • At least one affix definition per prioritized code
  • .affix inspect shows new mods
  • Addon displays new stats on tooltips
## Context Custom engine supports ~21 `statMod` codes. WotLK/AC item stats still missing from affix rolls and `ApplyCustomAffixStats`. ## High-value gaps | Code | Notes | |------|-------| | `RESIL` | PvP defensive rating (`CR_CRIT_TAKEN_*`) | | `DEF` | Tank defense rating | | `RAP` | Ranged attack power (separate from melee `AP`) | | `MANA` | Flat maximum mana (not just `MP5`) | | `HP5` | Health regeneration (distinct from `MP5`) | | Per-school resist | `FIRE`, `FROST`, `NATURE`, `SHADOW`, `ARCANE`, `HOLY` | | Ranged split ratings | Ranged hit/crit/haste if AC exposes separate combat ratings | | `FAP` | Feral attack power | `SPPEN` shipped in PR #3. ## Work - Add `statMod` handlers in `random_enchants_custom.cpp` using AC rating/bonus APIs - Seed affix definitions in SQL (balanced bands per loot tier) - Update `docs/ADDON_PROTOCOL.md` stat code table - Sync **IllidariAffix** `AffixData.lua` labels/icons for new codes ## Acceptance - [ ] Each new code applies/removes correctly on equip/unequip - [ ] At least one affix definition per prioritized code - [ ] `.affix inspect` shows new mods - [ ] Addon displays new stats on tooltips
Author
Owner

Moved to illidari#7. Archived — use illidari monorepo.

Moved to [illidari#7](https://vcs.ablationsystems.com/denise/illidari/issues/7). Archived — use illidari monorepo.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
denise/mod-random-enchants#5
No description provided.