Skip to content

rq.MonsterEdit ​

What rq.monster.edit changes. Every field is optional; the numbers are whole and 0 or more.

Fields ​

NameTypeDescription
name (optional)stringThe name, not empty.
model (optional)integerThe 3D model.
boss (optional)booleanThe monster is a boss.
race (optional)integerThe race.
type (optional)integerThe type value.
level (optional)integerThe level.
hp (optional)integerHP.
spd (optional)integerSpeed.
atk (optional)integerAttack.
def (optional)integerDefense.
mag (optional)integerMagic.
mdef (optional)integerMagic defense.
hit (optional)integerAccuracy.
eva (optional)integerEvasion.
crit (optional)integerCritical rate.
impact (optional)integerImpact rate.
resist (optional)integerResistance.
weak_element (optional)integerThe weak element.
fire_res (optional)integerFire resistance.
ice_res (optional)integerIce resistance.
thunder_res (optional)integerThunder resistance.
light_res (optional)integerLight resistance.
dark_res (optional)integerDark resistance.
skills (optional)table<integer, rq.MonsterSkillEdit |false>By position, 1 to 5: a table changes the fields it gives; false empties the position.
lines (optional){wait?: string|false, attack?: string|false, big?: string|false, support?: string|false}By kind: a text replaces the line; false removes it.
drops (optional)rq.MonsterDrop []Up to 8 items the monster may leave after a won fight, rolled in order; the first that rolls is given. {} gives none. Since 2.40.0.

Used by ​

rq.monster.edit