Table of Contents
Rat Mob - Code References
Java Classes
Implementation Details
Special Behavior
Drops
Variants
Alchemy Recipes
Related mr: Entities
Rat Mob - Code References
Rat
is a common enemy found in the early dungeon levels.
Java Classes
Rat.java
- Main mob class
Albino.java
- Variant mob class extending Rat
Implementation Details
Class
: com.watabou.pixeldungeon.actors.mobs.Rat
Extends
: Mob
Sprite
: spritesDesc/Rat.json
HP
: 8
Defense Skill
: 3
Attack Skill
: 8
Damage
: 1-5
Defense Rating
: 1
Max Level
: 7
AI
: Default mob AI with special behavior against Rat Skull Ratter aura
Special Behavior
Fear Response
: Rats flee from characters with the Rat Skull Ratter aura (from Plague Doctor NPC quest)
Terror
: When fleeing from Rat Skull Ratter aura, rats are also affected by Terror
Quest Mob
: Rats are involved in multiple NPC quests:
Ghost's quest (sewers)
Scarecrow NPC quest
Plague Doctor NPC quest
Drops
Can drop loot based on bestiary configuration
Used in alchemy recipes (Rat Skull, Rat Hide, Rat Meat)
Variants
Albino
- A rare white rat variant with 15 HP
Black Rat
- Another rat variant
Fetid Rat
- Created through alchemy
Suspicious Rat
- Special variant
Pseudo Rat
- Special variant
Remixed Fetid Rat
- Remixed version variant
Alchemy Recipes
Rat Skull (3x) + Skeleton Key = Skeleton
Rat Meat + Rat Skull = Potion of Healing + Skeleton
Dreamweed Seed + Rat Hide = Potion of Invisibility
Carcass of Rat + Skeleton Key = Skeleton
Corpse Dust (2x) + Dew Vial = Fetid Rat
Related mr: Entities
Albino (Mob)
Plague Doctor (NPC)
Scarecrow (NPC)
Rat Skull (Item)
Rat Hide (Item)
Rat Armor (Item)
Rat King Crown (Item)
Ghost (Mob) (not yet documented)
mr
,
mobs
,
rat
,
sewers
,
early game