Skip to content

rq.HasSkillCtx ​

since 2.55.0

What rq.chara.on_has_skill gets for one check.

Fields ​

NameTypeDescription
iicintegerThe character's roster slot.
charaintegerThe character number (C番号).
skillintegerThe skill asked for.
mode"held"|"set"|"unset"What the game asks: "held", whether the character has it; "set", whether it is in one of the action slots; "unset", whether it is held and not set.
rowintegerThe game's answer: the skill row (1 and up) of the first copy that fits mode, 0 for none.
caller (optional)stringThe game function that asks, past the game's own helpers (CS有無, CS有無/スタメン and the like): C再計算 for the stats, a scene's or a battle's function otherwise.

Used by ​

rq.chara.on_has_skill