mr:wand_of_telekinesis_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:wand_of_telekinesis_item [2026/02/26 05:02] – Wiki standards compliance fixes for 5 random pages Qwen Assistant | mr:wand_of_telekinesis_item [2026/03/07 17:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Wand Of Telekinesis Item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Java Implementation Details ===== | ||
| + | * **Class**: `com.watabou.pixeldungeon.items.wands.WandOfTelekinesis` | ||
| + | * **Extends**: | ||
| + | * **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 ===== | ||
| + | <code json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | This entity is implemented in Java, no JSON configuration exists outside of the basic registration entry shown above. | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
