====== Mimic Mob - Code References ====== {{ rpd:images:mimic_mob.png|Mimic }} This page contains machine-readable reference information about the Mimic mob entity for automated tools and AI assistants. ===== Entity Information ===== * **Entity Kind:** Mimic * **Entity Type:** Mob (Monster) * **Namespace:** mr: (machine-readable/metadata reference) * **Implementation:** Java class ===== Entity Stats (from Java) ===== * **HP/HT:** Scales with dungeon depth: (3 + level) * 4 * **Base Defense Skill:** 9 + level/2 * **Base Attack Skill:** 9 + level * **Damage:** HT/10 to HT/4 * **EXP for Kill:** 2 + 2 * (level - 1) / 5 * **Max Level:** Varies by dungeon depth * **Carcass Chance:** 0% (no corpse drops) ===== Special Abilities (from Java) ===== * **Gold Steal:** 33% chance on attack to drop 1-HP worth of gold from hero * **Psionic Blast Immunity:** Immune to ScrollOfPsionicBlast effects * **Spawn from Heaps:** Can spawn from Mimic-type heaps when opened ===== Loot Table (from Java) ===== * No standard loot - drops gold stolen from hero during combat ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Mimic.java|Mimic.java]] - Main Mimic class * Used in: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Heap.java|Heap.java]] - Spawns from mimic heaps * Used in: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/CharUtils.java|CharUtils.java]] - Beckons when hero attacks * Used in: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java|MobFactory.java]] (Line 199) - Mob class registration ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Mimic.json|Mimic.json]] ===== String Resources ===== mimic masculine mimic Mimics are magical creatures which can take any shape they wish. In dungeons they almost always choose the shape of a treasure chest, because they know how to beckon an adventurer. mimic masculine mimic Mimics are magical creatures which can take any shape they wish. This one looks like a big tasty pasty mimic masculine mimic The most glorious moment of your adventuring career just turned out to be a trap. This is a mimic! ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/alchemy_recipes.lua|alchemy_recipes.lua]] - Contains alchemy recipe for mimics (Lines 52-56): 1 Gold + 1 Iron Key = Mimic ===== Related mr Entities ===== * [[mr:mimic_pie_mob|Mimic Pie (Mob)]] - Variant that looks like a pasty * [[mr:mimic_amulet_mob|Mimic Amulet (Mob)]] - Variant that looks like an amulet * [[mr:heap_item|Heap (Item)]] - Mimics can spawn from mimic-type heaps * [[mr:gold_item|Gold (Item)]] - Mimics drop gold stolen from heroes ===== See Also ===== * [[en:rpd:mimic_mob|Mimic (English wiki)]] * [[ru:rpd:mimic_mob|Мимик (Russian wiki)]] {{tag> mr mob mimic reference code}}