Skip to content

rq.LevelUpCtx ​

What rq.chara.on_level_up callbacks get.

Fields ​

NameTypeDescription
iicintegerThe character's roster slot.
levelintegerThe new level.
fromintegerThe level before.
freebooleantrue for a level from the game's other level-up, which sets the EXP back to 0 (the story, training, the reserve's share of a fight, rq.chara.level_up); false for one that keeps the EXP left over (the party in a fight's result, rq.chara.add_exp).
battlebooleantrue inside a fight's result, for the party and the reserve alike.

Used by ​

rq.chara.on_level_up