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.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
SKINIT | 0 | 42 | 0 |
$1$SKINIT | 0 | 4 | 0 |
CALCSCOPE | 0 | 0 | 2 |