item_min_range
Global of Kamidori Alchemy Meister: the cell G:0x2ddbf8, of type int[2000], data-table, values 1 when populated (ranged weapons); 0 = melee.
CALCREVISE@0x003b5 copies the slot-0 weapon value into the unit's min range (0x637a6). CALCSCOPE@0x0004c uses it as the lower bound of the attack distance loop. CALCBTPARAM@0x00114 marks the attack as ranged when it is set. 85 bows, crystals and similar items carry it; their descriptions say 射程2/射2.
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 item, as item.id.min_range.
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 |
|---|---|---|---|
ITINIT | 0 | 59 | 0 |
$3$ITINIT | 0 | 23 | 0 |
$1$ITINIT | 0 | 4 | 0 |
SELACT | 0 | 0 | 3 |
CALCSCOPE | 0 | 0 | 2 |
DRAWTOOLTIP | 0 | 0 | 2 |
CALCBTPARAM | 0 | 0 | 1 |
CALCREVISE | 0 | 0 | 1 |