unit_race
Global of Kamidori Alchemy Meister: the cell G:0x2b5edc, of type int[1000], data-table, values 1..16 -> race name base 0x61fe: 1人間 2亜人 3一般 4鬼 5巨人 6妖精 7精霊 8天使 9悪魔 10魔獣 11幻獣 12霊体 13不死 14創造 15魔神 16半魔人.
INFO5@0x00d38 draws 0x61fe[race]; SETARMSTATE@0x00124 tests item race mask 0x2e60c8 bit race; CALCDMG/CALCILL/ADDILLSUB read it for race-dependent effects.
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 unit, as unit.id.race.
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 |
|---|---|---|---|
EBINIT | 0 | 368 | 0 |
$3$EBINIT | 0 | 49 | 0 |
$1$EBINIT | 0 | 22 | 0 |
$2$EBINIT | 0 | 6 | 0 |
CALCDMG | 0 | 0 | 3 |
FELLOWSTATUS | 0 | 0 | 2 |
INFO5 | 0 | 0 | 2 |
STATUS | 0 | 0 | 2 |
$2$STAGEROUND | 0 | 0 | 1 |
ADDILLSUB | 0 | 0 | 1 |
BTL | 0 | 0 | 1 |
CALCILL | 0 | 0 | 1 |
SETARMSTATE | 0 | 0 | 1 |