mr:wand_of_amok_item
Table of Contents
Wand Of Amok Item - Code References
Java Classes
- WandOfAmok.java - Main wand implementation
- SimpleWand.java - Base class for simple wands
- Wand.java - Base wand class
- Amok.java - Amok buff implementation
- Vertigo.java - Vertigo buff (applied to hero)
- MagicMissile.java - Visual effect for wand zap
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
<!-- 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>
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
- Amok (Buff) - Status effect applied by wand
- Vertigo (Buff) - Alternative effect when targeting hero
- Wand Maker (Mob) - NPC related to wands
- Wand (Item) - Base wand item type
mr/wand_of_amok_item.txt · Last modified: by 127.0.0.1
