class_change
Record table of Kamidori Alchemy Meister, records 0 to 0, 9 fields.
What a title change gives, as CALCCC adds it up for current_character_id (docs/kamidori-data-tables.md, Class changes): it zeroes the block, runs every rule script of class_change_rule_script_ids (CCINIT, then each append's $n$CCINIT), and applies the block to the character when a rule fired. A rule fires once (bit 0 of character_class_change_state[character][column]) when its character's level reaches its threshold, or, for an event title, once a story scene has set bit 1; it takes the title when its level beats the title so far, an event's counting as -1. No data file edits it: it is the sum of the rules that fire, rebuilt on every call, which kamidori-base refuses as a table no format edits. The rules themselves are CCINIT's code, which an OMS patch changes.
The game builds it as it needs it (its built_by is class_change). Record id is [class_change.id] in a data file, class_change[id] in OMS and Lua, and a field class_change.id.field.
The database lists it: each of the units lists its title changes.
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 kamidori-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
titleclass_change_title_out | string | — | — |
title_levelclass_change_title_priority | int | — | — |
party_capacity_deltaclass_change_party_capacity_delta | int | — | — |
party_cost_deltaclass_change_party_cost_delta | int | — | — |
resistance_deltasclass_change_resistance_deltas | int[8] | — | — |
stat_deltasclass_change_stat_deltas | int[14] | — | — |
stat_cap_deltasclass_change_stat_cap_deltas | int[14] | — | — |
skill_slot_replacementsclass_change_skill_slot_replacements | int[8] | skill | — |
skill_learn_flagsclass_change_skill_learn_flags | int[1000] | — | — |