class_change_state_work
Global of Himegari Dungeon Meister: the cell G:0xab8fb, of type int[10], unknown, values 0 unapplied, 1 applied.
Ten-cell working copy of the current unit's unit_class_change_state row. CCINIT sets the slot belonging to an awarded rule; CALCCC manages the block copy between this buffer and persistent per-unit state.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 promotion_slot_1, 1 promotion_slot_2, 2 promotion_slot_3, 3 promotion_slot_4, 4 promotion_slot_5, 5 promotion_slot_6, 6 promotion_slot_7, 7 promotion_slot_8, 8 promotion_slot_9, 9 promotion_slot_10. Lua and an event’s cell write a row’s column class_change_state_work[i].column.
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 |
|---|---|---|---|
CCINIT | 0 | 71 | 0 |
$1$CCINIT | 0 | 2 | 0 |
CALCCC | 0 | 0 | 1 |