offensive_action_scope_masks
Global of Himegari Dungeon Meister: the cell G:0xcc9f4, of type int[10], data-table, values action-availability bitmask: bit 0 normal attack, bits 1..4 equipped active skills.
CALCSCOPE clears ten encoded-range cells, sets bit 0 over the equipped/default attack's range, and sets bits 1..4 over each usable offensive skill's range. SETMVWORK uses the range-0 mask and paired attack elements when filtering target cells; RTN_M003/006/016/017/018 require its normal-attack bit.
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 range_0, 1 range_1, 2 range_2, 3 range_3, 4 range_4, 5 range_5, 6 range_6, 7 range_7, 8 range_8, 9 range_9. Lua and an event’s cell write a row’s column offensive_action_scope_masks[i].column.
It depends on 0x8d431, 0x8d819, 0xa71de, 0xa730a, 0xcc9f2, 0xcc9f3, 0xcca08.
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 |
|---|---|---|---|
SELACT | 3 | 0 | 2 |
FIELD | 2 | 0 | 2 |
CALCSCOPE | 0 | 0 | 3 |
RTN_M051 | 0 | 0 | 3 |
RTN_M052 | 0 | 0 | 3 |
SETMVWORK | 3 | 0 | 0 |
RTN_M018 | 2 | 0 | 0 |
RTN_M053 | 0 | 0 | 2 |
BTRTN | 0 | 0 | 1 |
RTN_M003 | 1 | 0 | 0 |
RTN_M006 | 1 | 0 | 0 |
RTN_M016 | 1 | 0 | 0 |
RTN_M017 | 1 | 0 | 0 |