skill_combat_stat_deltas
Global of Himegari Dungeon Meister: the cell G:0xa99b6, of type int[300][10], data-table, values signed combat parameter deltas; observed -99..999.
Sparse SKINIT row-major table applied by CALCBTPARAM for the selected action. Descriptions and combat 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, and 9 capture power. Column 7 is unpopulated in shipped SKINIT; CALCBTPARAM adds any luck and critical modifiers into the critical percentage that CALCDMG rolls after the hit check.
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. Lua and an event’s cell write a row’s column skill_combat_stat_deltas[i].column.
Record tables
It is a field of the table skill, as skill.id.combat_stat_deltas.
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 |
|---|---|---|---|
SKINIT | 0 | 276 | 0 |
CALCBTPARAM | 0 | 0 | 8 |
FIELD | 0 | 0 | 4 |
SELACT | 0 | 0 | 2 |
RTN_M053 | 0 | 0 | 1 |