User Tools

Site Tools


mr:wand_of_avalanche_item

Wand Of Avalanche Item - Code References

Java Classes

JSON Configuration

String Resources

<string name="WandOfAvalanche_Name">Wand of Avalanche</string>
<string name="WandOfAvalanche_Info">When a discharge of this wand hits a wall (or any other solid obstacle) it causes a rock slide, damaging and stunning all creatures in the area of effect.</string>
<string name="WandOfAvalanche_Info1">You crushed yourself to death with your own Wand of Avalanche...</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Implementation Details

  • Package: com.watabou.pixeldungeon.items.wands
  • Extends: SimpleWand
  • Key Properties:
    • hitChars = false (doesn't hit characters directly)
    • Creates rock slide effect when hitting walls
    • Damage: Random.Int(2, 6 + (size - d) * 2) where size = 1 + level/3
    • Stun chance: Random.Int(2 + d) == 0, duration: Random.IntRange(2, 6)
    • Area of effect: PathFinder distance map with size = 1 + level/3
    • Max distance: 8 + level
  • Effects:
    • Speck.ROCK particle effect
    • Camera shake: 3 intensity, 0.07f * (3 + (size - d)) duration
    • Can stun affected creatures
  • Self-damage: Can kill the hero if they hit a wall near themselves
mr/wand_of_avalanche_item.txt · Last modified: by 127.0.0.1