Skip to content

rq.HpEvent ​

What rq.battle.on_hp gets.

Fields ​

NameTypeDescription
iicintegerThe character's slot.
unitintegerThe card: 1 to 5 allies, 11 to 15 enemies.
side"ally"|"enemy"Whose card it is.
hpintegerHP now.
maxintegerMost HP.
beforeintegerHP when last seen; hp itself the first time.
firstbooleanThe first sight of this character on this card (the start of a fight, a switch).

Used by ​

rq.battle.on_hp