User Tools

Site Tools


mr:wand_of_firebolt_item

wand_of_firebolt_item

Wand of Firebolt

Entity Information

  • Class Name: WandOfFirebolt.java
  • Entity Kind: WandOfFirebolt
  • Type: Item
  • Category: Wand
  • Package: com.watabou.pixeldungeon.items.wands
  • Inherits From: SimpleWand

Code Implementation

// File: RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/WandOfFirebolt.java
package com.watabou.pixeldungeon.items.wands;
 
public class WandOfFirebolt extends SimpleWand {
    // Zap effect: deals fire damage and ignites targets
    @Override
    protected void onZap(int cell, Char ch) {
        // Creates fire blobs along the path
        // Deals random damage: Random.Int(1, 8 + wandLevel * wandLevel)
        // Applies Burning buff to target
        // Uses MagicMissile.fire visual effect
    }
}

Statistics

  • Damage: Random.Int(1, 8 + wandLevel²) - scales with wand level
  • Visual Effect: MagicMissile.fire from getOwner().getSprite().getParent()
  • Sound: Assets.SND_ZAP on zap
  • Identified: Always known (inherits from SimpleWand)

Special Abilities

  • Fire Damage: On zapping, deals fire damage to target based on wand level
  • Ignition Effect: Applies Burning buff to targets hit by the firebolt
  • Area Effect: Creates Fire blobs at target cell and along the path
  • Heap Interaction: Burns heaps (item piles) in the firebolt path
  • Self-Damage Risk: Using the wand on oneself can cause damage and ignite the user
  • Path Burning: For each cell in Ballistica.trace, if flammable, adds Fire blob

String Resources

  • Name: R.string.WandOfFirebolt_Info (via StringsManager.getVar)
  • Death Message: R.string.WandOfFirebolt_Info1 - “You killed yourself with your own wand…”
  • English: strings_all.xml
  • Russian: strings_all.xml (source of truth)

Code References

Lua Scripts

  • No specific Lua script for this wand (uses Java implementation)
mr/wand_of_firebolt_item.txt · Last modified: by 127.0.0.1