Table of Contents
Swarm Mob - Code References
Java Classes
JSON Configuration
String Resources
Key Code Details
Lua Scripts
Swarm Mob - Code References
Java Classes
Swarm.java
- Main implementation of the Swarm mob
Mob.java
- Base class for Swarm
JSON Configuration
Swarm.json
- Sprite configuration
String Resources
Swarm_Name and Swarm_Info
- English localization
Swarm_Name and Swarm_Info
- Russian localization
Key Code Details
HP:
80 (base health)
Attack Skill:
12 (base attack skill)
Defense Skill:
5 (base defense skill)
Damage:
1-4 (damage range)
Max Level:
10
Flying:
true (can fly over pits and water)
Loot:
20% chance to drop
PotionOfHealing
Split Mechanic:
Splits into smaller swarms when taking damage (if HP >= damage + 2)
Generation:
Tracks swarm generation for split mechanics
Lua Scripts
This entity is implemented in Java, no Lua script exists