Define monsters with stats, behaviors, and spawn rules.

Mobs & AI

The Mobs editor lets you create enemies and creatures. Each mob has combat stats, AI behavior, abilities, loot, and a visual appearance.

Creating a Mob

PropertyDescription
NameDisplay name (e.g., "Forest Slime")
HP, ManaHealth and mana pools
Attack, DefensePhysical combat stats
Magic Power, Magic ResistMagical combat stats
LevelMob level (affects XP granted and difficulty)
AI BehaviorHow the mob acts (see below)
AbilitiesWhich attacks/spells it can use
Loot TableWhat items it drops when defeated
SpriteVisual appearance and animations
Light EmissionOptional glow effect

AI Behaviors

BehaviorDescription
AggressiveAttacks players on sight within its detection range
DocileWon't attack unless attacked first
CowardlyFlees when HP drops below a threshold
PatrollingWalks a set route, attacks if provoked
SleepingStationary until disturbed

How Mob AI Works

Each mob follows a state machine:

  • Idle — standing at spawn, looking for targets within its detection range
  • Patrol — walking a predefined route
  • Chase — running toward a detected player
  • Combat — using abilities from its skill rotation
  • Return — walking back to spawn if it gets too far away (leash range)
Key settings:
  • Detection radius — how far the mob can spot players (in tiles)
  • Leash range — max distance from spawn before it resets and walks back
  • Flee threshold — HP percentage that triggers retreat for cowardly mobs

Monster Parties

Group up to 5 mobs into a Monster Party with assigned roles:

  • Tank — high HP, draws attention
  • Damage — high attack, less durable
  • Support — heals or buffs other mobs
Parties spawn together as a coordinated group.

Spawn Rules

Control where and when mobs appear:

SettingDescription
ZoneWhich zone to spawn in
BiomeOnly spawn in specific biomes (e.g., Desert only)
Max countMaximum alive at one time
Respawn intervalSeconds between respawns after being killed
Time conditionDay only, night only, or any time
Weather conditionOnly spawn during specific weather types

Equipment

Mobs can equip up to 4 gear pieces, which affect their appearance and stats. Equipped items can also appear in the mob's loot table.