mr:wand_of_teleportation_item
Table of Contents
Wand Of Teleportation Item - Code References
Java Classes
- WandOfTeleportation.java - Main wand implementation
- ItemFactory.java#L322 - Item class registration
- ChaosStaff.java#L98 - Used by ChaosStaff for teleportation effect
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
<string name="WandOfTeleportation_Name">Wand of Teleportation</string> <string name="WandOfTeleportation_Info">A blast from this wand will teleport a creature against its will to a random place on the current level.</string> <string name="WandOfTeleportation_Info1">%1$s teleported %2$s to somewhere</string> <string name="WandOfTeleportation_Info2">nothing happened</string>
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 (“nothing happened”)
- Visual Effects: MagicMissile.coldLight animation
- Sound: Assets.SND_ZAP
Related mr Entities
mr/wand_of_teleportation_item.txt · Last modified: by 127.0.0.1
