unit_base_stats
Global of Kamidori Alchemy Meister: the cell G:0x2beb7c, of type int[1000][14], data-table, values base stat at the unit's starting level; cols 2,3,5..8,10,12 ~100% populated, 9 and 13 only on playable characters.
Copied wholesale by SETEN@0x0012a (-> battle stats 0x54062) and UNITECH@0x001c1 (-> character_stats 0x64715). Column labels: SELSEWUP@0x00000..0x00041 builds the stat-name list 命中,回避,物理攻撃,物理防御,魔法攻撃,魔法防御,敏捷,運,移動,接客,最大HP,最大SP,最大FS,キャパシティ in index order. Corroboration: MVSEEK@0x0002c reads col 8 for move range; SETEN hard mode (0x320b==2)@0x003d4 doubles col 10, adds +20 to col 0 and +10 to col 1, scales cols 2..7 by 12/10; SETEN@0x006a8 and SETCH@0x00345 copy cols 10..12 into current HP/SP/FS; INFO5@0x00d70..0x00ed3 draws cols 0..8,10..13 on the bestiary sheet.
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_base_stats[i].column.
Record tables
It is a field of the table unit, as unit.id.stats.
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 | 3342 | 0 |
$3$EBINIT | 0 | 544 | 0 |
$1$EBINIT | 0 | 224 | 0 |
$2$EBINIT | 0 | 73 | 0 |
INFO5 | 0 | 0 | 13 |
SETEN | 0 | 0 | 1 |
UNITECH | 0 | 0 | 1 |