Relic Index
This page describes the structure of relic index files.
Files
| File | Key | Purpose |
|---|---|---|
relics.json | Relic ID | Individual piece, slot, rarity and affix group IDs |
relic_sets.json | Set ID | Set descriptions and 2/4-piece properties |
relic_main_affixes.json | Main affix group ID | Main-stat values by relic level |
relic_sub_affixes.json | Sub affix group ID | Sub-stat base values and upgrade increments |
Relic pieces and sets
A relic record has set_id, type, rarity, max_level, main_affix_id, sub_affix_id and icon. type is the equipment slot (for example HEAD, HAND, BODY, FOOT, NECK or OBJECT). Resolve set_id in relic_sets.json, whose desc and properties arrays use the same index for each available set bonus.
Field notes: id is the relic ID; set_id resolves the set; name is localized; rarity, type and max_level describe equipment constraints; main_affix_id and sub_affix_id resolve affix groups; icon is an asset path. Set desc and properties use matching indexes for each bonus.
Affix groups
Affix group records expose an affixes object. Each affix contains an affix_id, property property, minimum value base and per-upgrade increment step. Main affixes grow when the relic level increases. Sub-affixes are upgraded randomly and also provide step_num, the maximum number of random upgrades. The actual upgrade count can range from 0 to step_num. After n upgrades (0 ≤ n ≤ step_num), its value is base + n × step. For example, with step_num: 2, the sub-affix can be upgraded 0, 1 or 2 times; after one upgrade its value is base + 1 × step. Property types resolve through properties.json, including display metadata such as field, percent and icon.
Every affix object has affix_id, property type property, minimum value base and per-upgrade increment step; only sub-affixes add step_num, the maximum random upgrade count. For an actual count n (0 ≤ n ≤ step_num), use base + n × step.
// relics.json
{"31011":{"id":"31011","set_id":"101","name":"Passerby's Rejuvenated Wooden Hairstick","rarity":2,"type":"HEAD","max_level":6,"main_affix_id":"21","sub_affix_id":"2","icon":"icon/relic/101_0.png"}}
// relic_sets.json; index 0 and 1 are 2-piece and 4-piece bonuses
{"101":{"id":"101","name":"Passerby of Wandering Cloud","desc":["...","..."],"properties":[[{"type":"HealRatioBase","value":0.1}],[]],"icon":"icon/relic/101.png"}}
// relic_main_affixes.json / relic_sub_affixes.json
{"21":{"id":"21","affixes":{"1":{"affix_id":"1","property":"HPDelta","base":45.1584,"step":15.8054}}}}
{"2":{"id":"2","affixes":{"1":{"affix_id":"1","property":"HPDelta","base":13.548,"step":1.6935,"step_num":2}}}}