unit_auto_level_scale_divisor
Global of Himegari Dungeon Meister: the cell G:0x7ab4e, of type int[1000], data-table, values 1 in the shipped table; zero disables automatic scaling.
Default level-scaling divisor for 192 enemy definitions. SETEN uses a scenario override when supplied, otherwise divides the difference between scenario level and unit_starting_level by this value, adds the result to the runtime level, and clamps it to unit_level_cap.
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.
Record tables
It is a field of the table unit, as unit.id.auto_level_scale_divisor.
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 |
|---|---|---|---|
EBINIT | 0 | 192 | 0 |
$1$EBINIT | 0 | 6 | 0 |
SETEN | 0 | 0 | 1 |