skill_attack_element_encoded
Global of Kamidori Alchemy Meister: the cell G:0x3a5330, of type int[1000], data-table, values element+1 (2 physical .. 8 dark); 0 = use weapon element.
CALCBTPARAM@0x0016a and BTRTN@0x000dc subtract 1 to get the attack element, otherwise falling back to item_attack_element. The summaries agree (流星の光槍 7 = 神, 炎刀一撃 5 = 火, 石弾 3 = 地).
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 skill, as skill.id.attack_element_encoded.
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 | 169 | 0 |
$3$SKINIT | 0 | 15 | 0 |
$1$SKINIT | 0 | 7 | 0 |
RTN_M051 | 0 | 0 | 4 |
RTN_M052 | 0 | 0 | 4 |
RTN_M054 | 0 | 0 | 4 |
$2$SKINIT | 0 | 2 | 0 |
BTRTN | 0 | 0 | 2 |
CALCBTPARAM | 0 | 0 | 2 |
INFO6 | 0 | 0 | 2 |
RTN_M018 | 0 | 0 | 2 |
RTN_M053 | 0 | 0 | 2 |
RTN_M071 | 0 | 0 | 2 |
SELACT | 0 | 0 | 2 |
SELBOMB | 0 | 0 | 2 |
SETMVWORK | 0 | 0 | 2 |