Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

unit_element_resistance_levels

Global of Kamidori Alchemy Meister: the cell G:0x2b7264, of type int[1000][8], data-table, values -5..+6: -5激弱 -4強弱 -3弱点 -2軽弱 -1微弱 0-- 1微減 2軽減 3強減 4激減 5無効 6吸収 (labels 0x621a+5+v); col 0 (無属) is 0 on every unit.

INFO5@0x00f2a draws 0x621a[5+v] for k=1..7 beside element names 0x6212+k; SETEN@0x00501 stores 5+v in battle slot 0x53d42; UNITECH@0x0020f seeds character_resistances (0x643f5).

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.

Its columns are named: 1 physical, 2 earth, 3 cold, 4 fire, 5 lightning, 6 holy, 7 dark. Lua and an event’s cell write a row’s column unit_element_resistance_levels[i].column.

Record tables

It is a field of the table unit, as unit.id.element_resistance.

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.

ScriptReadsWritesIndexes
EBINIT09750
$3$EBINIT01510
$1$EBINIT0760
$2$EBINIT0310
INFO5001
SETEN001
UNITECH001