unit_base_stats
Global of Himegari Dungeon Meister: the cell G:0x7af36, of type int[1000][14], data-table, values nonnegative base stat values; populated columns 2..7 and 10..13.
EBINIT fourteen-column base-stat record copied wholesale into each runtime unit by SETEN, UNITECH, and SALLY. Its layout matches item_stat_modifiers: columns 2 physical attack, 3 physical defense, 4 magic attack, 5 magic defense, 6 speed, 7 luck, 10 movement, 11 max HP, 12 max SP, and 13 max FS; accuracy/evasion and other unpopulated columns begin at zero.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-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 speed, 7 luck, 8 critical_chance, 9 capture_power, 10 movement, 11 max_hp, 12 max_sp, 13 max_fs. 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 | 2260 | 0 |
$1$EBINIT | 0 | 57 | 0 |
SALLY | 0 | 0 | 1 |
SETEN | 0 | 0 | 1 |
UNITECH | 0 | 0 | 1 |