mr:exploding_skull_mob
Table of Contents
Exploding Skull Mob - Code References
Java Classes
Full Java Class Content
package com.nyrds.pixeldungeon.mobs.necropolis; import com.watabou.pixeldungeon.actors.Char; import com.watabou.pixeldungeon.actors.mobs.Mob; import com.watabou.pixeldungeon.items.Gold; import org.jetbrains.annotations.NotNull; public class ExplodingSkull extends Mob { { carcassChance = 0; hp(ht(10)); baseDefenseSkill = 1; baseAttackSkill = 125; dmgMin = 25; dmgMax = 45; dr = 1; baseSpeed = 1.5f; expForKill = 1; maxLvl = 1; setUndead(true); loot(Gold.class, 0.02f); } @Override public boolean attack(@NotNull Char enemy) { if(super.attack(enemy)) { die(this); return true; } return false; } }
JSON Configuration
This entity may have JSON configuration, but no matching config was found. Check:
- RemixedDungeon/src/main/assets/mobsDesc/*.json
- RemixedDungeon/src/main/assets/spritesDesc/exploding_skull.json
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
This entity is implemented in Java, no Lua script exists
Entity Usage Analysis
Using find_entity_usage.py:
- Java file: ./RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/necropolis/ExplodingSkull.java - Main class implementation
- Java file: ./RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java - Mob registration (line 222)
- String resources: ExplodingSkull_Name, ExplodingSkull_Gender, ExplodingSkull_Name_Objective, ExplodingSkull_Desc
- No Lua file usage (Java-based mob)
- No JSON configuration (Java-based mob)
Related mr Entities
- Undead (Mob) - Mob type classification
- Necromancer Class - Related to necropolis theme
- Skeleton Mob - Another undead mob
mr/exploding_skull_mob.txt · Last modified: by 127.0.0.1

