entity_effective_stats
Global of Himegari Dungeon Meister: the cell G:0x4e11b, of type int[50][14], data-table, values calculated runtime stat values.
Per-runtime-entity effective fourteen-stat row after CALCREVISE applies base data, equipment, skills, and conditions. Combat/UI consumers use columns 0..10 directly; columns 11..13 are the maxima paired with entity_current_resources HP/SP/FS.
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 accuracy, 1 evasion, 2 physical_attack, 3 physical_defense, 4 magic_attack, 5 magic_defense, 6 speed, 7 luck, 8 critical_chance, 9 capture_power, 10 movement, 11 max_hp, 12 max_sp, 13 max_fs. Lua and an event’s cell write a row’s column entity_effective_stats[i].column.
It depends on 0x4e085.
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 |
|---|---|---|---|
DRAWENP | 0 | 0 | 36 |
DRAWCHP | 0 | 0 | 30 |
FIELD | 0 | 0 | 26 |
BTL | 0 | 0 | 17 |
CALCREVISE | 0 | 0 | 16 |
USEMAGIC | 0 | 0 | 13 |
CALCDMG | 0 | 0 | 11 |
INFOEN | 0 | 0 | 10 |
CALCBTPARAM | 0 | 0 | 8 |
SETEN | 0 | 0 | 8 |
DRAWVOL | 0 | 0 | 6 |
CHMENU | 0 | 0 | 3 |
RTN_M061 | 0 | 0 | 3 |
MAGIC | 0 | 0 | 2 |
RTN_M010 | 0 | 0 | 2 |
RTN_M053 | 0 | 0 | 2 |
SETCH | 0 | 0 | 2 |
USEITEM | 0 | 0 | 2 |
MVSEEK | 0 | 0 | 1 |
RECOVER | 0 | 0 | 1 |
RTN_M007 | 0 | 0 | 1 |
SELACT | 0 | 0 | 1 |