unit_initial_stat_caps
Global of Kamidori Alchemy Meister: the cell G:0x2c58dc, of type int[1000][14], data-table, values per-character stat ceiling (44 playable rows, cols 0..8); 0 = use global cap row 0x2a2da7[0].
UNITECH@0x001e8 copies the row into character_stat_caps (0x64c8d). ADDEXP@0x0033b clamps each stat to 0x64c8d[c][k] (or the global 0x2a2da7 cap when 0); USEITEM@0x00115 uses the same cap for stat items; CCINIT/CALCCC raise it via the 0x2d202d cap-delta block; FELLOWSTATUS@0x00d2a draws it as the gauge limit.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 accuracy, 1 evasion, 2 physical_attack, 3 physical_defense, 4 magic_attack, 5 magic_defense, 6 agility, 7 luck, 8 movement, 9 customer_service, 10 max_hp, 11 max_sp, 12 max_fs, 13 capacity. Lua and an event’s cell write a row’s column unit_initial_stat_caps[i].column.
Record tables
It is a field of the table unit, as unit.id.initial_stat_caps.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
EBINIT | 0 | 207 | 0 |
$3$EBINIT | 0 | 144 | 0 |
$1$EBINIT | 0 | 27 | 0 |
$2$EBINIT | 0 | 18 | 0 |
UNITECH | 0 | 0 | 1 |