User Tools

Site Tools


mr:wand_of_avalanche_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:wand_of_avalanche_item [2026/04/09 16:04] – Fix wiki pages: broken links, update mr: namespace pages with accurate code refs Qwen Assistantmr:wand_of_avalanche_item [2026/04/09 16:05] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Wand Of Avalanche Item - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/WandOfAvalanche.java|WandOfAvalanche.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]] - Parent class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/Wand.java|Wand.java]] - Base wand class (contains WandOfAvalanche in wand array)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java|ItemFactory.java]] - Item registration (line 318)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/WandMaker.java|WandMaker.java]] - NPC that can give this wand (line 110)
 +
 +===== JSON Configuration =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/Treasury.json|Treasury.json]] - Treasure room spawn configuration (weight: 5)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/SpidersTreasury.json|SpidersTreasury.json]] - Spider treasury spawn configuration (weight: 5)
 +
 +===== String Resources =====
 +<code xml>
 +<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>
 +</code>
 +
 +===== 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