User Tools

Site Tools


mr:boss_mob

Boss Mob - Code References

Java Classes

JSON Configuration

String Resources

  • English: strings_all.xml - Search for “_Name” and “_Desc” patterns for boss entities
  • Russian: strings_all.xml - Russian translations for boss entities
  • All languages: Search for boss entity names in res/ directory

Lua Scripts

Boss entities are primarily implemented in Java. Some custom boss behaviors may be implemented in Lua scripts in scripts/ directory.

Key Implementation Details

  • Abstract Class: Boss is an abstract class that extends Mob
  • Boss Flag: isBoss = true (set in constructor)
  • Max Level: maxLvl = 50 (all bosses scale to level 50 maximum)
  • Pet Immunity: cannotBePet() returns true (bosses cannot be pets)
  • Death Enchantment Resistance: Adds resistance to Death enchantment
  • Psionic Blast Resistance: Adds resistance to ScrollOfPsionicBlast
  • Battle Music: Plays custom battle music when in Hunting state
  • Level Unsealing: Unseals the level when boss dies (via level().unseal())
  • Boss Slain Event: Triggers GameScene.bossSlain() on death
  • Skeleton Key: Bosses carry a SkeletonKey (restored from bundle for old saves)
  • Music Fallback: Uses battleMusicFallback if primary battleMusic is not found
  • Mod Support: Supports ModQuirks.mobLevel for custom boss leveling
  • ShadowLord Exception: ShadowLord boss does not get SkeletonKey restoration fix

Known Boss Entities

Content Verification

  • Information source: Java code (Boss.java)
  • Last updated: 2026-04-05 based on current codebase analysis
  • Verified against: RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Boss.java
  • Key properties: isBoss=true, maxLvl=50, cannotBePet, Death/PsionicBlast resistance
mr/boss_mob.txt · Last modified: by 127.0.0.1