unit_default_attack_item_id
Global of Himegari Dungeon Meister: the cell G:0x78056, of type int[1000], data-table, values ITINIT innate-attack item ids 901..943.
EBINIT default attack for 250 units. Every populated value cross-resolves to ITINIT's innate-attack records; SELACT, BTL, CALCBTPARAM, CALCDMG, and CHMENU use it when no equipped weapon overrides the unit's natural attack.
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.
Record tables
It is a field of the table unit, as unit.id.default_attack_item_id.
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 |
|---|---|---|---|
EBINIT | 0 | 250 | 0 |
$1$EBINIT | 0 | 7 | 0 |
SELACT | 0 | 0 | 4 |
BTL | 0 | 0 | 2 |
CALCBTPARAM | 0 | 0 | 2 |
CALCDMG | 0 | 0 | 2 |
CHMENU | 0 | 0 | 2 |
SETCH | 0 | 0 | 2 |
CALCREVISE | 0 | 0 | 1 |
CALCSCOPE | 0 | 0 | 1 |
DISARM | 0 | 0 | 1 |
DRAWENP | 0 | 0 | 1 |
REMOVECH | 0 | 0 | 1 |
SETEN | 0 | 0 | 1 |