mr:bandit_mob
Table of Contents
Bandit Mob
Entity Information
- Entity Kind: Bandit
- Class: com.watabou.pixeldungeon.actors.mobs.Bandit
- Entity Type: mob
- Parent Class: com.watabou.pixeldungeon.actors.mobs.Thief
Code References
- JSON Config: Bandit.json
- Lua Script: Bandit.lua
- Mob Factory: MobFactory.java
- Parent Class (Thief): Implemented via parent Thief mechanics in JSON/Lua
Configuration Files
- JSON Config: mobsDesc/Bandit.json (stats, loot, sprite)
- Lua Script: scripts/mobs/Bandit.lua (behavior, steal/blind, flee, defenceProc)
String Resources
- Name: @string/Bandit_Name
- Description: @string/Bandit_Desc
- Gender: @string/Bandit_Gender
Implementation Details
- HP: 20 (mobsDesc/Bandit.json)
- Defense Skill: 12 (JSON)
- Attack Skill: 12 (JSON)
- Damage: 1-7 (JSON)
- DR (Damage Reduction): 3 (JSON)
- Exp for Kill: 5 (JSON)
- Max Level: 10 (JSON)
- Attack Delay: 0.5 (JSON)
Special Abilities
- Steal Effect: When attacking, if successfully steal() is triggered, the Bandit flees and inflicts Blindness for 5-12 turns
- Fleeing: After stealing, the Bandit enters ThiefFleeing AI state
- Drop on Defense: When in flee state and attacked, drops Gold
- Loot: Has 0.01f chance to drop Ring of Haggler (from parent Thief class)
Game Mechanics
- Inherits all Thief mechanics and behaviors
- When stealing from player, causes Blindness to the player character
- Carries a random non-equipped item that can be stolen by player
- Uses ThiefFleeing AI state after attempting to steal
mr/bandit_mob.txt · Last modified: by 127.0.0.1

