User Tools

Site Tools


mr:wand_of_amok_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mr:wand_of_amok_item [2025/12/23 08:09] – Update wand of amok mr page with correct code references mikemr:wand_of_amok_item [2026/03/14 19:05] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Wand Of Amok Item - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/WandOfAmok.java|WandOfAmok.java]] - Main wand implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/SimpleWand.java|SimpleWand.java]] - Base class for simple wands
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/Wand.java|Wand.java]] - Base wand class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Amok.java|Amok.java]] - Amok buff implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Vertigo.java|Vertigo.java]] - Vertigo buff (applied to hero)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/effects/MagicMissile.java|MagicMissile.java]] - Visual effect for wand zap
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<!-- English strings -->
 +<string name="WandOfAmok_Name">Wand of Amok</string>
 +<string name="WandOfAmok_Info">The purple light from this wand will make the target run amok, attacking random creatures in its vicinity.</string>
 +<string name="WandOfAmok_Info1">nothing happened</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Implementation Details =====
 +  * **Zap Effect**: Applies Amok buff for 3f + effectiveLevel() turns on non-hero targets
 +  * **Hero Target**: Applies Vertigo buff instead when targeting the hero
 +  * **Visual Effect**: Uses MagicMissile.purpleLight() for the zap animation
 +  * **Sound**: Plays Assets.SND_ZAP sound effect on use
 +  * **No Target Message**: Displays "nothing happened" message when zap misses
 +
 +===== Related mr Entities =====
 +  * [[mr:amok_buff|Amok (Buff)]] - Status effect applied by wand
 +  * [[mr:vertigo_buff|Vertigo (Buff)]] - Alternative effect when targeting hero
 +  * [[mr:wand_maker_mob|Wand Maker (Mob)]] - NPC related to wands
 +  * [[mr:wand_item|Wand (Item)]] - Base wand item type