Skip to content

rq.Monster ​

A monster's data, as rq.monster.get returns it. The names are rq.chara.get's.

Fields ​

NameTypeDescription
nointegerThe monster number (rq.ids.monster).
namestringThe name.
modelintegerThe 3D model.
bossbooleanThe monster is a boss.
raceintegerThe race (rq.ids.race).
typeintegerThe type value (rq.ids.chara_type).
levelintegerThe level.
hpintegerHP.
spdintegerSpeed.
atkintegerAttack.
defintegerDefense.
magintegerMagic.
mdefintegerMagic defense.
hitintegerAccuracy.
evaintegerEvasion.
critintegerCritical rate.
impactintegerImpact rate.
resistintegerResistance.
weak_elementintegerThe weak element (rq.ids.element).
fire_resintegerFire resistance.
ice_resintegerIce resistance.
thunder_resintegerThunder resistance.
light_resintegerLight resistance.
dark_resintegerDark resistance.
skillsrq.MonsterSkill []Up to five, in the game's order; the empty positions are left out.
lines{wait?: string, attack?: string, big?: string, support?: string}The lines the fight shows: waiting, attacking, a big move, supporting. A kind the monster has not is nil.
id (optional)stringThe text id, for a monster a mod defined (rq.monster.define). Since 2.40.0.
base (optional)integerThe game monster it is built on, for a monster a mod defined. Since 2.40.0.
killsintegerHow many the party has defeated, as the game's Monster Info counts them (a mod's monster's in the save, by its id). Since 2.40.0.
weak_knownbooleanThe party knows its weak point, as the game marks it once a fight shows it; the next build of the monster shows it from the start. Since 2.40.0.

Used by ​

rq.MonsterCreateCtx, rq.monster.get