Skip to content

rq.BattleLogCtx ​

since 2.37.0

What rq.battle.on_log gets for one line of the battle log.

Fields ​

NameTypeDescription
textstringThe line; after a callback that replaced it, the new text.
colorintegerThe game's color number (5 for every line the game writes).
lastbooleantrue for the fight's end message (Victory, Defeat, Time exceeded, the flight).

Used by ​

rq.battle.on_log