condition_resource_deltas
Global of Himegari Dungeon Meister: the cell G:0xab3f8, of type int[30][15], data-table, values signed per-turn HP/SP/FS deltas.
ILINIT's five-level by three-resource matrix for each condition. FIELD applies the active row each turn; CALCDMG also consumes the HP/SP/FS drain condition rows during battle. Positive values restore/drain to the acting side as defined by the caller, while negative values are periodic damage or loss.
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 level_1_hp, 1 level_1_sp, 2 level_1_fs, 3 level_2_hp, 4 level_2_sp, 5 level_2_fs, 6 level_3_hp, 7 level_3_sp, 8 level_3_fs, 9 level_4_hp, 10 level_4_sp, 11 level_4_fs, 12 level_5_hp, 13 level_5_sp, 14 level_5_fs. Lua and an event’s cell write a row’s column condition_resource_deltas[i].column.
It depends on 0x52383, 0x4e085.
Record tables
It is a field of the table condition, as condition.id.resource_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 |
|---|---|---|---|
ILINIT | 0 | 35 | 0 |
CALCDMG | 0 | 0 | 3 |
FIELD | 0 | 0 | 1 |