mr:mimic_amulet_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:mimic_amulet_mob [2026/02/14 00:42] – Wiki maintenance: Updated selected pages for compliance with standards NYRDS Bot | mr:mimic_amulet_mob [2026/02/19 04:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== mimic_amulet_mob ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Class ===== | ||
| + | <code java> | ||
| + | // File: RemixedDungeon/ | ||
| + | package com.nyrds.pixeldungeon.mobs.guts; | ||
| + | |||
| + | import com.nyrds.Packable; | ||
| + | import com.watabou.pixeldungeon.Dungeon; | ||
| + | import com.watabou.pixeldungeon.actors.blobs.ToxicGas; | ||
| + | import com.watabou.pixeldungeon.actors.buffs.Buff; | ||
| + | import com.watabou.pixeldungeon.actors.buffs.Levitation; | ||
| + | import com.watabou.pixeldungeon.actors.buffs.Paralysis; | ||
| + | import com.watabou.pixeldungeon.actors.buffs.Stun; | ||
| + | import com.watabou.pixeldungeon.actors.mobs.Mob; | ||
| + | import com.watabou.pixeldungeon.items.keys.SkeletonKey; | ||
| + | import com.watabou.utils.Bundle; | ||
| + | |||
| + | public class MimicAmulet extends Mob { | ||
| + | @Packable | ||
| + | public int level; | ||
| + | |||
| + | public MimicAmulet() { | ||
| + | baseSpeed = 1.25f; | ||
| + | flying = true; | ||
| + | carcassChance = 0; | ||
| + | level = Dungeon.depth; | ||
| + | adjustStats(level); | ||
| + | addImmunity(ToxicGas.class); | ||
| + | addImmunity(Paralysis.class); | ||
| + | addImmunity(Stun.class); | ||
| + | // Drops SkeletonKey on death | ||
| + | } | ||
| + | |||
| + | public void adjustStats(int level) { | ||
| + | this.level = level; | ||
| + | hp(ht((3 + level) * 5)); | ||
| + | expForKill = 2 + 2 * (level - 1) / 5; | ||
| + | baseAttackSkill = 9 + level; | ||
| + | baseDefenseSkill = 2 * attackSkill + 1; | ||
| + | dmgMin = ht()/10; | ||
| + | dmgMax = ht()/4; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | <code json> | ||
| + | // File: RemixedDungeon/ | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <!-- English: RemixedDungeon/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Entity Information ===== | ||
| + | * **Entity Kind**: MimicAmulet | ||
| + | * **Type**: Mob | ||
| + | * **Package**: | ||
| + | * **Inherits From**: Mob | ||
| + | * **Special**: | ||
| + | |||
| + | ===== Statistics (Scale with Dungeon Depth) ===== | ||
| + | * **HP**: (3 + level) × 5, where level = Dungeon.depth | ||
| + | * **Experience**: | ||
| + | * **Attack Skill**: 9 + level | ||
| + | * **Defense Skill**: 2 × attackSkill + 1 | ||
| + | * **Damage**: HT/10 to HT/4 (10% to 25% of max HP) | ||
| + | * **Speed**: 1.25 (25% faster than normal) | ||
| + | * **Flying**: Yes (always has Levitation buff) | ||
| + | * **Carcass Drop**: 0% (no corpse) | ||
| + | |||
| + | ===== Immunities ===== | ||
| + | * **ToxicGas**: | ||
| + | * **Paralysis**: | ||
| + | * **Stun**: Immune to stun status | ||
| + | |||
| + | ===== Behavior ===== | ||
| + | * **Act**: Automatically applies Levitation buff (1000000 turns) if not already active | ||
| + | * **Loot**: Always drops SkeletonKey on death | ||
| + | * **Pet**: Cannot be tamed as pet (canBePet() returns false) | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented entirely in Java. No Lua script exists. | ||
| + | |||
| + | ===== Additional Notes ===== | ||
| + | * MimicAmulet is a special mimic variant found in guts levels | ||
| + | * Stats scale dynamically with dungeon depth | ||
| + | * Always carries a SkeletonKey as guaranteed loot | ||
| + | * Flying movement allows traversal over obstacles | ||
| + | |||
| + | {{tag> rpd mobs machine_readable mimic guts}} | ||
