Table of Contents
Spider Exploding Mob - Code References
Java Classes
Mob Stats
JSON Configuration
String Resources
Special Mechanics
Entity Kind
Behavior
Spider Exploding Mob - Code References
Java Classes
SpiderExploding.java
- Main mob implementation
Extends
MultiKindMob
base class
Registered in
MobFactory.java
Mob Stats
HP
: 5
Defense
: 1
Attack Skill
: 125
Speed
: 2.0 (very fast)
Damage
: 3-6
Drop Rate
: 0% carcass
Experience
: 3 EXP
Max Level
: 9
JSON Configuration
SpiderExploding appears in level spawn configuration:
Bestiary.json
- Spider spawn rates:
Level 7s: 0.5 spawn rate
Level 8s: 0.5 spawn rate
Level 9s: 1.0 spawn rate
Level 10s: 1.0 spawn rate
String Resources
English:
strings_all.xml
(lines 1406-1409)
Russian:
strings_all.xml
(lines 2097-2100)
All translations available in 18 languages
Special Mechanics
Plant Variety
: Can use 8 different plant types (Firebloom, Icecap, Sorrowmoss, Dreamweed, Sungrass, Earthroot, Fadeleaf, Moongrace)
Suicide Attack
: Dies after using plant effect on enemy
Loot
: Drops
MysteryMeat
with 6.7% chance
Entity Kind
getEntityKind(): SpiderExploding
Behavior
SpiderExploding is a spider mob that acts as a suicide bomber
When attacking successfully, it grabs a random plant and uses its effect on the enemy
After the attack, the SpiderExploding dies immediately
Appears in spider-themed dungeon levels
Very fast movement speed (2.0x normal)