User Tools

Site Tools


mr:nightmare_mob

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:nightmare_mob [2026/08/28 14:39] – wiki maintenance: fix 5 random pages compliance issues Botmr:nightmare_mob [2026/08/28 14:48] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Nightmare Mob - Code References ======
 +
 +{{ rpd:images:nightmare_mob.png|Nightmare }}
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/guts/Nightmare.java|Nightmare.java]]
 +
 +===== JSON Configuration =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Nightmare.json|Nightmare.json]] - Sprite animation configuration
 +
 +===== String Resources =====
 +''<code xml>
 +<string name="Nightmare_Name">nightmare</string>
 +<string name="Nightmare_Gender">masculine</string>
 +<string name="Nightmare_Name_Objective">nightmare</string>
 +<string name="Nightmare_Desc">A grotesque creature that looks like a bunch of flesh-made tentacles. Nightmares are the incarnation of the Old God's sinister thoughts.</string>
 +</code>''
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Code Implementation Details =====
 +This mob has the following properties based on the Java implementation:
 +  * **HP**: 80 (`ht(80)`)
 +  * **Defense Skill**: 24 (`baseDefenseSkill`)
 +  * **Attack Skill**: 26 (`baseAttackSkill`)
 +  * **Damage Range**: 20-25 (`dmgMin`/`dmgMax`)
 +  * **Damage Reduction**: 10 (`dr`)
 +  * **Special Abilities**:
 +    * Flying (`flying = true`, can move over terrain obstacles)
 +    * Roots proc: 10% chance to root target on attack (`Buff.affect(enemy, Roots.class)`)
 +    * Paralysis proc: 10% chance to stun/paralyse target on attack (`Buff.affect(enemy, Stun.class)`; `Stun.attachTo` calls `target.paralyse(true)`)
 +  * **Behavior**: Always in hunting state (aggressive) - `act()` calls `setState(MobAi.getStateByClass(Hunting.class))` after `super.act()`
 +  * **Exp**: 0 (`expForKill = 0`, no experience gained from killing)
  
mr/nightmare_mob.txt · Last modified: by 127.0.0.1