Enemies¶
Enemies spawn naturally in wilderness areas across the map, threatening your adventurers and castle.
Enemy Types¶
| Enemy | HP | ATK | DEF | Speed | XP | Gold | Attack Range | Vision | Spawn Terrain | Danger Level |
|---|---|---|---|---|---|---|---|---|---|---|
| Slime | 60 | 3 | 2 | 0.6 | 10 | 5 | 3 | 12 | Forest | 1 |
| Goblin | 110 | 6 | 4 | 1.0 | 25 | 12 | 3 | 20 | Mountain | 2 |
| Skeleton | 160 | 9 | 6 | 0.9 | 40 | 20 | 3 | 22 | Mountain | 3 |
| Zombie | 260 | 12 | 10 | 0.6 | 60 | 30 | 3 | 16 | Forest | 4 |
| Dragon | 550 | 20 | 18 | 1.4 | 150 | 80 | 16 | 32 | Mountain | 5 |
Enemy Behavior¶
Roaming¶
- Enemies wander near their spawn point
- They have a vision range and will actively chase adventurers they detect
- Only 25% of enemies recalculate their roaming path every 4 ticks (staggered in groups)
Target Priority¶
Enemies attack targets in the following order:
- Combat-ready adventurers (non-pacifists)
- Builders (pacifist adventurers)
- Arrow towers (threatening buildings)
- Castle
- Other buildings
Invasion Pathing¶
When an invasion event triggers, enemies head straight for the player's castle along the shortest path.
Enemy Spawning¶
| Setting | Value |
|---|---|
| Spawn interval | Every 60 ticks (~12 seconds) |
| Maximum count | adventurer_count × 2 (adjustable in difficulty settings) |
| Base minimum | At least 6 enemies |
Enemies spawn based on terrain type:
- Forest — Slimes, Zombies
- Mountain — Goblins, Skeletons, Dragons
Dragons
Dragons are the most dangerous enemy. With an attack range of 16, 550 HP, and fireball projectiles, they are best dealt with using ranged adventurers and arrow towers.
Dragon Special Mechanics¶
- Ranged Attack: Attack range of 16, fires fireball projectiles
- High Mobility: Speed of 1.4, the fastest of all enemies
- Wide Vision: 32-tile vision range, able to spot adventurers from a great distance
- Evasion: All enemies have a base 5% dodge rate