item_condition_level_deltas
Global of Kamidori Alchemy Meister: the cell G:0x2e7838, of type int[2000][30], data-table, values per-condition level delta; -5 clears, +n inflicts/raises.
USEITEM@0x004fd passes each nonzero column to ADDILLSUB as (condition id, delta). For example 女神の滴 writes -5 to columns 6..13 and the nutrient drinks write +n to 20 and 22. CALCDMG@0x01360 sums the attacker's slot-0 weapon row with the skill row (skill_condition_levels) and passes each nonzero sum to CALCILL as an on-hit infliction (bow 1327: column 7 confusion = 3). Columns are ILINIT condition ids.
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: 1 instant_death, 2 hp_drain, 3 sp_drain, 4 fs_drain, 5 curse, 6 charm, 7 confusion, 8 paralysis, 9 poison, 10 water_flow, 11 strong_acid, 12 inflammation, 13 fear, 14 hp_regeneration, 15 sp_regeneration, 16 fs_regeneration, 17 exaltation, 18 accuracy_up, 19 evasion_up, 20 physical_attack_up, 21 physical_defense_up, 22 magic_attack_up, 23 magic_defense_up, 24 speed_up, 25 critical_up, 26 movement_down, 27 no_return, 28 injury. Lua and an event’s cell write a row’s column item_condition_level_deltas[i].column.
Record tables
It is a field of the table item, as item.id.condition_level_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 |
|---|---|---|---|
ITINIT | 0 | 104 | 0 |
$3$ITINIT | 0 | 93 | 0 |
$2$ITINIT | 0 | 8 | 0 |
USEITEM | 0 | 0 | 2 |
$1$ITINIT | 0 | 1 | 0 |
CALCDMG | 0 | 0 | 1 |