condition_duration_turns_by_level
Global of Kamidori Alchemy Meister: the cell G:0x3b22d0, of type int[30][5], data-table, values turns; -1 = until cleared.
ADDILLSUB@0x00164 sets the remaining turns 0x61320 to max(current, duration[level]). For negative deltas it overwrites directly.
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_turns, 1 level_2_turns, 2 level_3_turns, 3 level_4_turns, 4 level_5_turns. Lua and an event’s cell write a row’s column condition_duration_turns_by_level[i].column.
Record tables
It is a field of the table condition, as condition.id.duration_turns.
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 | 127 | 0 |
ADDILLSUB | 0 | 0 | 3 |