condition_stat_deltas
Global of Kamidori Alchemy Meister: the cell G:0x3b2366, of type int[30][45], data-table, values (level-1)*9 + stat: nine stats for each of the five levels.
CALCREVISE@0x00648 adds [cond][(level-1)*9+k] into unit stats 0x54062 columns 0..8. Values fit the names: curse lowers everything, 命中1..5 add accuracy 4..20 to column 0, and 歩低 lowers movement (column 8).
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 level_1_accuracy, 1 level_1_evasion, 2 level_1_physical_attack, 3 level_1_physical_defense, 4 level_1_magic_attack, 5 level_1_magic_defense, 6 level_1_agility, 7 level_1_luck, 8 level_1_movement, 9 level_2_accuracy, 10 level_2_evasion, 11 level_2_physical_attack, 12 level_2_physical_defense, 13 level_2_magic_attack, 14 level_2_magic_defense, 15 level_2_agility, 16 level_2_luck, 17 level_2_movement, 18 level_3_accuracy, 19 level_3_evasion, 20 level_3_physical_attack, 21 level_3_physical_defense, 22 level_3_magic_attack, 23 level_3_magic_defense, 24 level_3_agility, 25 level_3_luck, 26 level_3_movement, 27 level_4_accuracy, 28 level_4_evasion, 29 level_4_physical_attack, 30 level_4_physical_defense, 31 level_4_magic_attack, 32 level_4_magic_defense, 33 level_4_agility, 34 level_4_luck, 35 level_4_movement, 36 level_5_accuracy, 37 level_5_evasion, 38 level_5_physical_attack, 39 level_5_physical_defense, 40 level_5_magic_attack, 41 level_5_magic_defense, 42 level_5_agility, 43 level_5_luck, 44 level_5_movement. Lua and an event’s cell write a row’s column condition_stat_deltas[i].column.
Record tables
It is a field of the table condition, as condition.id.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 |
|---|---|---|---|
ILINIT | 0 | 132 | 0 |
CALCREVISE | 0 | 0 | 2 |