character_stats
Global of Kamidori Alchemy Meister: the cell G:0x64715, of type int[100][14], data-table.
UNITECH seeds from unit_base_stats; ADDEXP grows; CALCCC adds class-change deltas; USEITEM raises; SETCH@0x00173 copies to battle stats.
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 character_stats[i].column.
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 |
|---|---|---|---|
SHOWGROW | 0 | 0 | 14 |
FELLOWSTATUS | 0 | 0 | 10 |
ADDEXP | 0 | 0 | 8 |
CALCCC | 0 | 0 | 5 |
UNITECH | 0 | 0 | 5 |
USEITEM | 0 | 0 | 4 |
FIELD | 0 | 0 | 2 |
GAMECLEAR | 0 | 0 | 1 |
GAMESTART | 0 | 0 | 1 |
SETCH | 0 | 0 | 1 |
SHOWCC | 0 | 0 | 1 |