skill_attack_element
Global of Himegari Dungeon Meister: the cell G:0xa7436, of type int[300], data-table, values 1..8 (physical, universal, fire, ice, lightning, earth, holy, dark), the element of that id; 0 none.
Populated for 60 elemental attacks and spells. Values match the Japanese descriptions and the same eight-value attack-element enum used by item_attack_element; CALCSCOPE, CALCBTPARAM, and SELACT consume it. A skill with none attacks with the equipped item's element, else the unit's default attack item's (CALCBTPARAM@0x15b-0x1cb).
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 skill, as skill.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 |
|---|---|---|---|
SKINIT | 0 | 60 | 0 |
CALCBTPARAM | 0 | 0 | 2 |
CALCSCOPE | 0 | 0 | 2 |
SELACT | 0 | 0 | 2 |