unit_skill_ids
Global of Himegari Dungeon Meister: the cell G:0x74e8, of type int[100][4], data-table, values SKINIT skill id; zero means empty.
Persistent four-skill row for each playable unit. CALCCC copies positive class_change_skill_awards into the first three slots after a promotion; ADDEXP compares the before/after row to report learned or replaced skills.
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 skill_slot_1, 1 skill_slot_2, 2 skill_slot_3, 3 skill_slot_4. Lua and an event’s cell write a row’s column unit_skill_ids[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 |
|---|---|---|---|
CHMENU | 0 | 0 | 9 |
ADDSKILL | 0 | 0 | 6 |
ADDEXP | 0 | 0 | 3 |
GAMECLEAR | 0 | 0 | 3 |
EVOLVE | 0 | 0 | 2 |
SETCH | 0 | 0 | 2 |
CALCCC | 0 | 0 | 1 |
GAMESTART | 0 | 0 | 1 |
SALLY | 0 | 0 | 1 |
UNITECH | 0 | 0 | 1 |