Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

class_change_stat_bonuses

Global of Himegari Dungeon Meister: the cell G:0xab8e9, of type int[14], unknown, values nonnegative promotion deltas.

Fourteen-cell class-change accumulator using the unit stat column order. CALCCC zeroes it (CALCCC@0xa), each CCINIT rule that fires adds its bonuses (CCINIT@0x18f-0x1b2), and CALCCC adds the result to the saved unit_current_stats, capped at G[0xccbdc]'s row 0 (CALCCC@0xb4-0x112). EVOLVE separately clears it and calls CCINIT to preview the next Lily form's movement bonus.

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 accuracy, 1 evasion, 2 physical_attack, 3 physical_defense, 4 magic_attack, 5 magic_defense, 6 speed, 7 luck, 8 critical_chance, 9 capture_power, 10 movement, 11 max_hp, 12 max_sp, 13 max_fs. Lua and an event’s cell write a row’s column class_change_stat_bonuses[i].column.

Record tables

It is a field of the table class_change, as class_change.id.stat_bonuses.

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.

ScriptReadsWritesIndexes
CCINIT3043040
$1$CCINIT660
CALCCC002
EVOLVE101