unit_condition_baseline_levels
Global of Kamidori Alchemy Meister: the cell G:0x618fc, of type int[unit][30], data-table, values equipment-granted levels.
Rebuilt by EQUIP@0x000ce from item_equipped_condition_levels. RECOVER resets current levels to it, and ADDILLSUB treats it as the floor.
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 instant_death, 2 hp_drain, 3 sp_drain, 4 fs_drain, 5 curse, 6 charm, 7 confusion, 8 paralysis, 9 poison, 10 water_flow, 11 strong_acid, 12 inflammation, 13 fear, 14 hp_regeneration, 15 sp_regeneration, 16 fs_regeneration, 17 exaltation, 18 accuracy_up, 19 evasion_up, 20 physical_attack_up, 21 physical_defense_up, 22 magic_attack_up, 23 magic_defense_up, 24 speed_up, 25 critical_up, 26 movement_down, 27 no_return, 28 injury. Lua and an event’s cell write a row’s column unit_condition_baseline_levels[i].column.
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 |
|---|---|---|---|
EQUIP | 0 | 0 | 8 |
RTN_M004 | 0 | 0 | 6 |
RTN_M005 | 0 | 0 | 6 |
RTN_M012 | 0 | 0 | 6 |
SETEN | 0 | 0 | 6 |
ADDILLSUB | 0 | 0 | 3 |
BTRTN | 0 | 0 | 2 |
FIELD | 0 | 0 | 2 |
MVRTN | 0 | 0 | 2 |
REMOVECH | 0 | 0 | 2 |
RTN_M001 | 0 | 0 | 2 |
RTN_M002 | 0 | 0 | 2 |
RTN_M003 | 0 | 0 | 2 |
RTN_M006 | 0 | 0 | 2 |
RTN_M007 | 0 | 0 | 2 |
RTN_M011 | 0 | 0 | 2 |
RTN_M013 | 0 | 0 | 2 |
RTN_M014 | 0 | 0 | 2 |
RTN_M016 | 0 | 0 | 2 |
RTN_M017 | 0 | 0 | 2 |
RTN_M018 | 0 | 0 | 2 |
RTN_M019 | 0 | 0 | 2 |
RTN_M051 | 0 | 0 | 2 |
RTN_M052 | 0 | 0 | 2 |
RTN_M053 | 0 | 0 | 2 |
RTN_M054 | 0 | 0 | 2 |
RTN_M061 | 0 | 0 | 2 |
RTN_M071 | 0 | 0 | 2 |
CALCILL | 0 | 0 | 1 |
FELLOW | 0 | 0 | 1 |
RECOVER | 0 | 0 | 1 |