en:rpd:shaman_subclass
Table of Contents
Shaman Subclass
Description
Elven Shamans can use wands as melee weapons. Successful hits have a chance to activate the wand's power on a target without using a charge.
Unlocking
The Shaman subclass can be unlocked by using a Tome of Mastery after defeating the second boss (Tengu).
Special Mechanics
- Elven _Shamans_ can use wands as melee weapons
- When attacking with a wand equipped as the primary weapon, there's a 25% chance (implemented as Random.Int(4) == 0) to zap the target with the wand's power without consuming a charge
- This ability is implemented in the
attackProcmethod ofHeroSubClass.java(lines 144-153) - The wand must be equipped as the primary weapon (active weapon) for this mechanic to work
- The wand needs to have charges available and the
affectTarget()method must return true - +1 dew bonus for enhanced mana recovery
Technical Details
- Implementation: The Shaman's special mechanics are implemented in the
attackProcmethod ofHeroSubClass.java(lines 144-153) - Wand Activation: When a Shaman attacks with a wand equipped as the active weapon, there's a 25% chance to zap the enemy with the wand's effect without consuming a charge
- Code Reference: The specific implementation checks if the primary weapon is a wand, and if
affectTarget()returns true andRandom.Int(4) == 0, thenzapCell()is called to zap the enemy without consuming charges
Special Armor
Using an Armor Kit on any armor will transform it into the Shaman Armor, which is specifically designed for this subclass.
Advantages
- Can use wands as melee weapons
- 25% chance to activate wand powers without consuming charges
- Preserves wand charges when power activates
- Synergizes well with all wand types
- +1 dew bonus for enhanced mana recovery
Disadvantages
- Activation chance is not guaranteed (25% chance)
- Wand damage as melee weapon may be lower than dedicated weapons
Data Validation
- Information source: Java Enum
com.watabou.pixeldungeon.actors.hero.HeroSubClass.SHAMAN - Mechanics verification: Attack bonus implemented in
attackProcmethod ofHeroSubClass.java, with 25% chance to zap enemy - Effect descriptions: Based on string resources from values/strings_all.xml (“HeroSubClass_DescShaman”)
- Name verification: Confirmed from string resources (“HeroSubClass_NameShaman”)
- Additional mechanics: Dew bonus verified in
dewBonusmethod ofHeroSubClass.java
Code References
- HeroSubClass.java - Subclass definition and mechanics
- HeroSubClass.java#L144-L153 - Exact implementation of wand-zap mechanic (25% chance when wielding wand)
- HeroSubClass.java#L257-L261 - Dew bonus implementation (+1 for Shaman)
- HeroSubClass.java#L19-L21 - Enum definition with armor class (“ShamanArmor”)
- Wand.java - Wand implementation that enables the mechanic
- Wand.java#L92-L96 - AffectTarget() method that checks if wand can zap
- Wand.java#L164-L174 - zapCell() method that performs the zap without consuming charge
- Shaman string resources (English) - Name and description
- Shaman string resources (Russian) - Russian localization
- HeroClass.java - Class/subclass relationship definitions
- ItemFactory.java#L295 - Registration of Shaman armor
- HeroSubClass_NameShaman, HeroSubClass_DescShaman - Russian string resources (name and description)
- mr: namespace: Check shaman_subclass for machine-readable data
Configuration Files
- HeroClass.java - Class/subclass relationship definitions
- ItemFactory.java#L295 - Registration of Shaman armor
String Resources
- HeroSubClass_NameShaman - “Shaman” (English)
- HeroSubClass_DescShaman - “Elven Shamans can use wands as melee weapons. Successful hits have a chance to activate the wand's power on a target without using a charge.” (English)
- HeroSubClass_NameShaman - “Шаман” (Russian)
- HeroSubClass_DescShaman - “Эльфийские шаманы могут использовать жезлы как оружие ближнего боя. Успешные атаки имеют шанс активировать силу жезла на цели без расхода заряда.” (Russian)
See Also
en/rpd/shaman_subclass.txt · Last modified: by 127.0.0.1

