unit_stat_growth_rates
Global of Kamidori Alchemy Meister: the cell G:0x2c222c, of type int[1000][14], data-table, values per-level growth in hundredths; populated cols 2..7 and 10..12 only.
SETEN@0x0030f: for each level above the starting level, frac[k] += growth; stat += frac/100; frac %= 100; then random(100) < frac grants +1. ADDEXP@0x00255 does the same per player level-up into character_stat_growth_fractions (0x65205), with the luck roll scaled x1.5/x2 by accessories 1901/1902. UNITECH@0x002f6 applies growth*2*(levels gained)/100 when a character joins above its starting level.
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_stat_growth_rates[i].column.
Record tables
It is a field of the table unit, as unit.id.stat_growth.
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 | 2448 | 0 |
$3$EBINIT | 0 | 190 | 0 |
$1$EBINIT | 0 | 177 | 0 |
$2$EBINIT | 0 | 46 | 0 |
UNITECH | 0 | 0 | 2 |
ADDEXP | 0 | 0 | 1 |
SETEN | 0 | 0 | 1 |