item_stat_modifiers
Global of Himegari Dungeon Meister: the cell G:0x9f541, of type int[1000][14], data-table, values signed additive stat values; observed -15..200.
ITINIT row-major equipment modifiers added directly to the unit's 14-column stat record by CALCREVISE. Descriptions and consumers establish columns 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, and 13 max FS. CALCBTPARAM adds columns 7 and 8 into the action's critical percentage, and CALCDMG compares the clamped result with a random-modulo-100 roll.
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 item_stat_modifiers[i].column.
Record tables
It is a field of the table item, as item.id.stat_modifiers.
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 |
|---|---|---|---|
ITINIT | 0 | 403 | 0 |
$1$ITINIT | 0 | 4 | 0 |
CALCREVISE | 0 | 0 | 2 |
IMPROVE | 0 | 0 | 2 |
DRAWTIP | 0 | 0 | 1 |