terrain_combat_stat_deltas
Global of Himegari Dungeon Meister: the cell G:0xe6afe, of type int[30][10], data-table, values signed combat parameter deltas; thirteen shipped cells range from -5 to 10.
LAINIT terrain-effect matrix. CALCBTPARAM reads the acting unit's doubled-coordinate battle tile and adds columns 0..9 through the same combat-parameter channels used by SKINIT skill deltas. INFOAF displays the first eight columns for its terrain rows, and the five populated terrain_effect_descriptions exactly summarize the shipped nonzero cells.
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 terrain_combat_stat_deltas[i].column.
It depends on 0x26b5, 0x26d3, 0x341ab.
Record tables
It is a field of the table terrain, as terrain.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 |
|---|---|---|---|
LAINIT | 0 | 13 | 0 |
CALCBTPARAM | 0 | 0 | 8 |
INFOAF | 0 | 0 | 1 |