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.

magic_action_costs

Global of Himegari Dungeon Meister: the cell G:0x156142, of type int[30], data-table, values spirit for a field magic, points for a base ritual; 0 for 浄化, whose cost FIELD computes.

MAINIT's cost for each action. A field magic costs this much spirit, halved once magic_facility_level is 5 or more (MAGIC@0x43b-0x455, FIELD@0x86f0-0x870a), and MAGIC refuses it beyond current_spirit (MAGIC@0x45c-0x487). 浄化 (id 2) has 0: FIELD makes its cost twice the sum of the target's levels of the conditions condition_cleared_by_recover marks (FIELD@0x8693-0x86e3), and MAGIC draws a placeholder for a 0 cost (MAGIC@0xdb6-0xe09). A ritual takes it from shared_spendable_points (STUDY@0x8ce-0x91a, EVOLVE@0x933-0x97f).

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.

It depends on 0x1560e7, 0x671e, 0x671b.

Record tables

It is a field of the table magic_action, as magic_action.id.cost.

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
MAINIT0100
EVOLVE006
STUDY006
MAGIC005
FIELD001