Prefix affixes are cosmetic only — no stats applied or shown #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Item name prefixes (Void-Touched, Felforged, Illidari, etc.) roll and display on gear, but they currently grant no gameplay effect and often show no stat on the tooltip. Players reasonably expect prefix mini-stats per the design in
2026_07_03_01_secondary_stats_and_procs.sql.What works today
RollPrefix()can roll a prefix string and storesprefixAffixId+prefixRolledValueon the item (item_affix_instance).RefreshPlayerCustomAffixStats()would apply prefix stats whenaffix_definitions.statModis set:IllidariAffixNameStyle.lua).Root causes (verified on live server)
1. World DB never got prefix stat columns populated
Live
acore_world.affix_definitionsforpool='prefix':The intended fix already exists in repo SQL
data/sql/updates/world/2026_07_03_01_secondary_stats_and_procs.sql(SP/AP/STA mini-stats), but it was not applied on production. WithstatModempty,RollPrefix()setsprefixRolledValue = 0and stat accumulation is skipped.2. Addon wire format omits prefix rolled value
SendItemAffixAddonMessage()sends:ITEM|bag|slot|guid|prefix|flags|price|affixId:val:rar|...The prefix stat is not included as
prefixAffixId:prefixRolledValue. Tooltip rendering only iteratesentry.affixes— prefix-only items show a colored name but no stat line, even after the DB is fixed.IllidariAffix.AffixData.luaalready documents expected prefix stats (21→SP, 22→AP, 23→STA) but the client never receives the rolled value.Proposed fix
Server (
mod-random-enchants)2026_07_03_01_secondary_stats_and_procs.sqlon world DB (or merge prefix statMod into baseaffix_definitions.sqlfor fresh installs).prefixAffixId:prefixRolledValue:0before suffix affixes, or add dedicated fields afterflags..affix inspectshowsprefix stat: ...after DB fix (logic already exists inrandom_enchants_command.cpp).RefreshPlayerCustomAffixStatsapplies SP/AP/STA from prefix on equipped gear.Client (
IllidariAffix)Core.luaITEM/LOOT handlers.Acceptance criteria
+N <stat>on tooltip..affixdebug).statModand sensibleminValue/maxValue/valueScale.Notes
2026_07_03_01if not already applied.Moved to illidari#4. Archived — use illidari monorepo.