Skip to content

rq.LearnCtx ​

What rq.chara.on_learn gets for one purchase.

Fields ​

NameTypeDescription
iicintegerThe character's roster slot.
skillintegerThe skill number.
slotintegerThe skill-list row, 1 to 20.
pointsintegerThe skill points this step cost; 0 for rq.chara.learn with pay = false.
costintegerThe row's purchase record after this step, as rq.ForgetCtx.cost.
newbooleantrue for a new skill, false for one more use or rank.
nintegerThe skill's level now: most uses for a use skill (type 10), rank for a ranked one (20, 30).
by"game"|"learn""game" for the skill window, "learn" for rq.chara.learn.

Used by ​

rq.chara.on_learn