Table of Contents

Exploding Skull Mob - Code References

Exploding Skull

JSON Configuration

{
   "name": "ExplodingSkull_Name",
   "name_objective": "ExplodingSkull_Name_Objective",
   "description": "ExplodingSkull_Desc",
   "gender": "ExplodingSkull_Gender",
   "attackSkill": 125,
   "defenseSkill": 1,
   "dmgMin": 25,
   "dmgMax": 45,
   "dr": 1,
   "str": 17,
   "ht": 10,
   "exp": 1,
   "maxLvl": 1,
   "baseSpeed": 1.5,
   "attackDelay": 1,
   "viewDistance": 8,
   "walkingType": "NORMAL",
   "flying": true,
   "spriteDesc": "spritesDesc/ExplodingSkull.json",
   "scriptFile": "scripts/mobs/ExplodingSkull",
   "lootChance": 0.02,
   "loot": { "kind": "Gold" },
   "undead": true,
   "carcassChance": 0,
   "canBePet": true,
   "friendly": false,
   "fraction": "DUNGEON",
   "hasBodyParts": false
}

Java Classes

This entity is implemented via JSON + Lua; no dedicated Java class exists. See `CustomMob.java` for the base loader.

String Resources

<string name="ExplodingSkull_Name">exploding skull</string>
<string name="ExplodingSkull_Gender">neuter</string>
<string name="ExplodingSkull_Name_Objective">exploding skull</string>
<string name="ExplodingSkull_Desc">This Undead enemy is a flying skull that explodes on contact with the hero, dealing heavy damage. It moves very quickly.</string>

Lua Scripts

Entity Usage Analysis

Using find_entity_usage.py: