item_defense_element
Global of Himegari Dungeon Meister: the cell G:0x8e3d1, of type int[1000], data-table, values 1..12 (AFINIT defense-attribute enum).
Populated for the 13 shields. Values match descriptions such as physical, universal, holy, dark, spirit, and divinity defense; DRAWTIP renders them through AFINIT's defense string table at GStr[0x26a4 + value].
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.defense_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 | 13 | 0 |
DRAWENP | 0 | 0 | 4 |
RTN_M051 | 0 | 0 | 4 |
RTN_M052 | 0 | 0 | 4 |
BTRTN | 0 | 0 | 2 |
CALCBTPARAM | 0 | 0 | 2 |
DRAWTIP | 0 | 0 | 2 |
INFOEN | 0 | 0 | 2 |
RTN_M018 | 0 | 0 | 2 |
RTN_M053 | 0 | 0 | 2 |
SETMVWORK | 0 | 0 | 2 |