en:rpd:immortal_npc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:rpd:immortal_npc [2026/03/21 03:26] – Wiki maintenance: Fix 3 pages from random audit Qwen Assistant | en:rpd:immortal_npc [2026/03/21 03:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Immortal NPC ====== | ||
| + | |||
| + | **ImmortalNPC** is an abstract class in Remixed Dungeon that extends the base [[en: | ||
| + | |||
| + | {{tag> rpd npcs immortal abstract}} | ||
| + | |||
| + | ==== Properties ==== | ||
| + | * **Immobile**: | ||
| + | * **Invulnerable**: | ||
| + | * **High Defense**: Defense skill is set to 1000 (effectively impossible to hit) | ||
| + | * **Low Speed**: Speed is set to 0.5f (slower than normal) | ||
| + | * **Buff Immunity**: Cannot receive or be affected by buffs (add(Buff) returns false) | ||
| + | * **Defensive**: | ||
| + | * **Reset Behavior**: Automatically resets position after actions (reset() returns true) | ||
| + | |||
| + | ==== Implemented NPCs ==== | ||
| + | NPCs that extend ImmortalNPC include: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[mr: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * Other special NPCs in the game | ||
| + | |||
| + | ==== Implementation ==== | ||
| + | * **Abstract Class**: Cannot be instantiated directly, must be extended | ||
| + | * **Protection**: | ||
| + | * **Purpose**: | ||
| + | * **Location**: | ||
| + | |||
| + | ==== Strategy ==== | ||
| + | * These NPCs are completely safe to interact with | ||
| + | * They cannot be killed or damaged in any way | ||
| + | * They remain in fixed positions due to immobility | ||
| + | * They serve as permanent fixtures in the game world | ||
| + | * Players can interact with them without worry of accidental harm | ||
| + | |||
| + | ==== Source Code ==== | ||
| + | * Java Class: [[https:// | ||
| + | * Parent Class: [[https:// | ||
| + | |||
| + | ==== See Also ==== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[mr: | ||
| + | |||
| + | {{tag> rpd npcs immortal abstract}} | ||
en/rpd/immortal_npc.txt · Last modified: by 127.0.0.1
