User Tools

Site Tools


mr:statue_mob

Statue Mob - Code References

Statue

Statue is a special mob that appears as a decorative statue until triggered.

Java Classes

Implementation Details

  • Class: com.watabou.pixeldungeon.actors.mobs.Statue
  • Extends: Mob
  • Sprite: spritesDesc/Statue.json
  • AI: Passive (statues remain still until triggered)
  • HP: 15 + (depth × 5) - scales with dungeon depth
  • Defense Skill: 4 + depth
  • Attack Skill: 4 + depth (same as defense)
  • Damage: (depth / 4 + 1) to depth
  • Experience: 0 (no experience awarded)
  • Carcass Chance: 0 (does not leave carcass)
  • Max Level: Scales with depth

Immunities and Resistances

  • Immune to: Toxic Gas, Poison, Leech, Bleeding
  • Resistant to: Death enchantment, Scroll of PsionicBlast

Special Behavior

  • Passive State: Statues start in passive state and do not move
  • Activation: Statues activate when attacked or when player is adjacent
  • Challenge Interaction:
    • In “No Weapon” challenge: Only ArmoredStatue spawns
    • In “No Armor” challenge: Only regular Statue spawns
  • Loot: Can drop equipment from previous heroes (armor, weapons)
  • Journal: Tracks statue encounters in dungeon journal
  • Sprite: Uses HeroSpriteDef to display equipped item

Variants

  • Armored Statue - Wears armor, spawns in No Weapon challenge
  • Golden Statue - Special golden variant that can drop valuable items

Level Object Configuration

  • JSON: levelObjects/statue.json - Defines statue placement and behavior
  • Lua: scripts/objects/statue.lua - Custom statue behavior scripts
mr/statue_mob.txt · Last modified: by 127.0.0.1