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.

skill_required_weapon_category_mask

Global of Kamidori Alchemy Meister: the cell G:0x3a4390, of type int[1000], data-table, values bit mask over item_category (bit 13 sword, 19 spear, ...).

CALCSCOPE@0x003f2: the skill is offered only if the mask contains the category bit of the unit's slot-0 weapon or its species default weapon (0x2b91a4). Examples: 流星の光槍 = 524288 (spear) and 炎刀一撃 = 8192 (sword).

OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.

Record tables

It is a field of the table skill, as skill.id.required_weapon_category_mask.

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
SKINIT0420
$1$SKINIT040
CALCSCOPE002