mr:wand_of_telekinesis_item
Table of Contents
Wand Of Telekinesis Item - Code References
Java Classes
- WandOfTelekinesis.java - Main wand implementation
- Wand.java - Base class for all wands
Java Implementation Details
- Class: `com.watabou.pixeldungeon.items.wands.WandOfTelekinesis`
- Extends: `Wand` base class
- Properties:
- `hitChars = false` - Does not directly target characters
- `hitObjects = true` - Targets objects and terrain
- Key Methods:
- `onZap(int cell, Char victim)` - Main zap effect implementation
- `transport(Heap heap)` - Transports items to hero's backpack
- `fx(int cell, Callback callback)` - Visual effects (MagicMissile.force)
- `desc()` - Returns localized description from string resources
- Max Distance: `effectiveLevel() + 4` cells
- Effects:
- Triggers traps along the path
- Tramples high vegetation
- Opens closed doors and closes open ones
- Pushes back monsters
- Transports heap items to hero's backpack
- Activates level objects via `Presser` interface
JSON Configuration
{
"class": "com.watabou.pixeldungeon.items.wands.WandOfTelekinesis",
"dropFactor": 1
}
This entity is implemented in Java, no JSON configuration exists outside of the basic registration entry shown above.
String Resources
<string name="WandOfTelekinesis_Name">Wand of Telekinesis</string> <string name="WandOfTelekinesis_Info">Waves of magic force from this wand will affect all cells on their way triggering traps, trampling high vegetation, opening closed doors and closing open ones. They also push back monsters.</string> <string name="WandOfTelekinesis_YouNowHave">You have magically transported %s into your backpack</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Related mr Entities
mr/wand_of_telekinesis_item.txt · Last modified: by 127.0.0.1
