rpd:immortal_npc
Differences
This shows you the differences between two versions of the page.
| rpd:immortal_npc [2025/12/26 03:57] – Add immortal_npc page documenting the ImmortalNPC base class mike | rpd:immortal_npc [2025/12/26 04:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Immortal NPC ====== | ||
| + | ==== Description ==== | ||
| + | ImmortalNPC is an abstract class that extends the base NPC class in Remixed Dungeon. NPCs that inherit from this class have special properties that make them essentially invulnerable to damage and unable to move. | ||
| + | |||
| + | ==== 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 | ||
| + | * **Defensive**: | ||
| + | * **Reset Behavior**: Automatically resets position after actions | ||
| + | |||
| + | ==== Implemented NPCs ==== | ||
| + | NPCs that extend ImmortalNPC include: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * Other special NPCs in the game | ||
| + | |||
| + | ==== Implementation ==== | ||
| + | * **Abstract Class**: Cannot be instantiated directly | ||
| + | * **Protection**: | ||
| + | * **Purpose**: | ||
| + | |||
| + | ==== 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 | ||
| + | |||
| + | ==== Source Code References ==== | ||
| + | * Java implementation: | ||
| + | |||
| + | ==== See Also ==== | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | |||
| + | {{tag> rpd npcs immortal}} | ||
rpd/immortal_npc.txt · Last modified: by 127.0.0.1
