condition
Record table of Himegari Dungeon Meister, records 0 to 29, 8 fields.
ILINIT conditions keyed by condition id: 1 to 11, 13 and 14 are written ($1$ILINIT writes none), each with five levels. A unit's level of each is battle state (entity_condition_levels); an item's and a skill's condition columns are indexed by these ids (item_status_delta_levels, item_equipped_status_levels, skill_status_levels). CALCILL applies one; ADDILLSUB sets its turns; CALCREVISE and FIELD apply its stat and resource changes.
The game builds it at boot. Record id is [condition.id] in a data file, condition[id] in OMS and Lua, and a field condition.id.field.
The database lists it: Conditions.
Fields
Each field is a global, one cell per record, named under the field. The last column is what a data file may write to it, as the base mod himegari-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
level_namescondition_level_names | string[30][5] | — | yes: a row of 5 columns by name; write level_names.<column> = ... |
resisted_ascondition_effectiveness_element_ids | int[30] | — | yes: a whole number |
can_affect_bossescondition_can_affect_bosses | int[30] | — | yes: a whole number |
cleared_by_recovercondition_cleared_by_recover | int[30] | — | yes: a whole number |
icon_idcondition_icon_ids | int[30] | — | yes: a whole number |
duration_turnscondition_duration_turns_by_level | int[30][5] | — | yes: a row of 5 columns by name; write duration_turns.<column> = ... |
stat_deltascondition_stat_deltas | int[30][55] | — | yes: a row of 55 columns by name; write stat_deltas.<column> = ... |
resource_deltascondition_resource_deltas | int[30][15] | — | yes: a row of 15 columns by name; write resource_deltas.<column> = ... |