mr:wand_of_teleportation_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:wand_of_teleportation_item [2026/03/09 19:13] – Fix wiki links and improve mr: namespace documentation Qwen Assistant | mr:wand_of_teleportation_item [2026/03/09 19:16] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Wand Of Teleportation Item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Class**: com.watabou.pixeldungeon.items.wands.WandOfTeleportation | ||
| + | * **Parent Class**: Wand | ||
| + | * **Key Methods**: | ||
| + | - teleport(Char ch, Char caster) - Static method to teleport a character to a random respawn cell | ||
| + | - onZap(int cell, Char ch) - Handles wand activation on target | ||
| + | - fx(int cell, Callback callback) - Visual and audio effects (cold light magic missile, SND_ZAP sound) | ||
| + | * **Behavior**: | ||
| + | - When used on self: Teleports the caster to a random location | ||
| + | - When used on movable non-boss mobs: Teleports the target to a random respawn cell | ||
| + | - When used on bosses or immovable targets: Has no effect (" | ||
| + | * **Visual Effects**: MagicMissile.coldLight animation | ||
| + | * **Sound**: Assets.SND_ZAP | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
mr/wand_of_teleportation_item.txt · Last modified: by 127.0.0.1
