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.

attack_element_effectiveness_percent

Global of Himegari Dungeon Meister: the cell G:0xab5ba, of type int[16][20], data-table, values signed percent, row a defense element id (0..12), column an attack element id (0..8, 0 no element) or a condition resistance group (11..17).

AFINIT-authored element matchup table with thirteen authored defense rows (0..12, AFINIT@0x87-0xc3; $1$AFINIT writes nothing) and eighteen authored cells per row, rows 20 wide (CALCILL@0xf2 and CALCBTPARAM@0x6bb index it with stride 20); sixteen rows, as item_tuning_stat_bonus_curves begins at row 16's first cell (0xab6fa). Row: the defense element (defense_element_names; a unit's unit_defense_element). Columns 1..8: the damage percent of an attack of that element: CALCBTPARAM multiplies the damage by the cell and divides by 100 (CALCBTPARAM@0x6bb-0x6db), so a negative cell turns the damage negative, which the -999..999 clamp keeps (CALCBTPARAM@0x736-0x7b5): the hit absorbs, as fire on 火炎 (-100). Column 0 is an attack with no element, 100 in every row: CALCBTPARAM takes the selected skill's element, else the equipped item's, else the unit's default attack item's (CALCBTPARAM@0x15b-0x1cb), so an attack is element 0 only when all three have none (27 unit records have no default attack item, among them エミリオ's 16 and 17, the familiars and the children). Columns 11..17 (抵抗1..抵抗7): the percent chance a condition of that resistance group takes (condition_effectiveness_element_ids; CALCILL@0xe6-0x10e). Columns 9 and 10 are 0 in every row. Positive values make an action eligible in SETMVWORK and RTN_M051/052; INFOAF displays eight attack columns for its selected defense rows.

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.

Its columns are named: 0 no_element, 1 physical, 2 universal, 3 fire, 4 ice, 5 lightning, 6 earth, 7 holy, 8 dark, 11 resistance_1, 12 resistance_2, 13 resistance_3, 14 resistance_4, 15 resistance_5, 16 resistance_6, 17 resistance_7. Lua and an event’s cell write a row’s column attack_element_effectiveness_percent[i].column.

It depends on 0x2690, 0x26a4, 0x77c6e, 0x8e3d1, 0x8dfe9, 0xa7436.

Record tables

It is a field of the table element, as element.id.effectiveness_percent.

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
AFINIT0013
SELACT004
BTRTN003
CALCBTPARAM002
RTN_M018002
RTN_M051002
RTN_M052002
RTN_M053002
CALCILL001
INFOAF001
SETMVWORK001