User Tools

Site Tools


mr:wand_maker_mob

Wand Maker Mob - Code References

Java Classes

JSON Configuration

This entity does not use JSON configuration. It is implemented entirely in Java.

String Resources

<string name="WandMaker_Name">old wandmaker</string>
<string name="WandMaker_Desc">This old but hale gentleman wears a slightly confused expression. He is protected by a magic shield.</string>
<string name="WandMaker_Defense">absorbed</string>
<string name="WandMaker_Berry1">Oh, what a pleasant surprise to meet a decent person in such place! I came here for a rare ingredient - a _Rotberry seed_. Being a magic user, I'm quite able to defend myself against local monsters, but I'm getting lost in no time, it's very embarrassing. Probably you could help me? I would be happy to pay for your service with one of my best wands.</string>
<string name="WandMaker_Berry2">Any luck with a Rotberry seed, %s? No? Don't worry, I'm not in a hurry.</string>
<string name="WandMaker_Dust1">Oh, what a pleasant surprise to meet a decent person in such place! I came here for a rare ingredient - _corpse dust_. It can be gathered from skeletal remains and there is an ample number of them in the dungeon. Being a magic user, I'm quite able to defend myself against local monsters, but I'm getting lost in no time, it's very embarrassing. Probably you could help me? I would be happy to pay for your service with one of my best wands.</string>
<string name="WandMaker_Dust2">Any luck with corpse dust, %s? Bone piles are the most obvious places to look through.</string>
<string name="WandMaker_RotberryName">Rotberry</string>
<string name="WandMaker_RotberryDesc">Berries of this shrub taste like sweet, sweet death.</string>
<string name="WandMaker_RotberryInfo">The seed emits a roar that echoes throughout the dungeon!</string>

Available in multiple languages:

Lua Scripts

This entity is implemented in Java, no Lua script exists.

Implementation Details

  • Parent Class: NPC (com.watabou.pixeldungeon.actors.mobs.npcs.NPC)
  • Defense: Immune to damage (defenseSkill returns 1000, damage method does nothing)
  • Immune to Buffs: add(Buff buff) returns false
  • Reset Immunity: reset() returns true
  • Spawn Location: PrisonLevel, in a random room
  • Spawn Condition: Dungeon depth > 6, random chance (10 - depth)
  • Quest Types:
    1. Alternative 0: Collect Corpse Dust from skeletons
    2. Alternative 1: Collect Rotberry Seed (plant grows when placed)
  • Rewards:
    1. Battle wand (random from: Avalanche, Disintegration, Firebolt, Lightning, Poison)
    2. Non-battle wand (random from: Amok, Blink, Regrowth, Slowness, Telekinesis)
  • Inner Classes:
    1. Quest: Manages quest state (spawned, alternative, given)
    2. Rotberry: Plant class with toxic gas effect
    3. Rotberry.Seed: Alchemy seed that produces Potion of Strength
mr/wand_maker_mob.txt · Last modified: by 127.0.0.1