species_condition_susceptibility_percent
Global of Kamidori Alchemy Meister: the cell G:0x3b2a98, of type int[17][10], data-table, values percent chance per race row (unit_race) and condition group column (condition_susceptibility_group, 1..7), 0 = immune, 100 = always.
ADDILLSUB@0x0001a and CALCILL@0x00090 index [race 0x2b5edc][condition_susceptibility_group]. AFINIT fills rows 1..16 with copy-inline-int-array. CALCILL inflicts a condition (a level change above 0) only when its roll, 0x4f9dc's next number, is below the cell (CALCILL@0x6b-0xa2), and ADDILLSUB skips a condition whose cell is 0 (ADDILLSUB@0x25): the race is immune to that group. The race table's condition chances.
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 curse, 2 death_and_fear, 3 charm_and_confusion, 4 paralysis_and_poison, 5 drains, 6 water_acid_and_inflammation, 7 buffs_and_others. Lua and an event’s cell write a row’s column species_condition_susceptibility_percent[i].column.
Record tables
It is a field of the table race, as race.id.condition_chance_percent.
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 |
|---|---|---|---|
AFINIT | 0 | 0 | 16 |
ADDILLSUB | 0 | 0 | 1 |
CALCILL | 0 | 0 | 1 |