item_attack_element
Global of Himegari Dungeon Meister: the cell G:0x8dfe9, of type int[1000], data-table, values 1..8 (physical, universal, fire, ice, lightning, earth, holy, dark), the element of that id; 0 none.
Populated for 107 weapons/attacks. Values exactly match the AFINIT attack-attribute string table at GStr[0x2690 + value] and the Japanese item descriptions; combat scope/parameter code consumes the same array.
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 item, as item.id.attack_element.
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 | 107 | 0 |
SELACT | 0 | 0 | 3 |
$1$ITINIT | 0 | 2 | 0 |
CALCBTPARAM | 0 | 0 | 2 |
CALCSCOPE | 0 | 0 | 2 |
DRAWTIP | 0 | 0 | 2 |