User Tools

Site Tools


en:rpd:healer_npc

Healer NPC

Healer NPC

The Healer NPC is a non-player character found in town who provides healing services and plays a role in unlocking the Gnoll Guardian subclass.

Description

The Healer NPC is found in the town area and provides healing services in exchange for gold. The Healer can heal both the player character and their pet companions.

Services

  • Hero Healing: Heals the player character completely and satisfies hunger for approximately 75 gold (base cost, affected by difficulty and Ring of Haggler)
  • Pet Healing: Heals all pet companions completely and satisfies their hunger for approximately 50 gold per pet (base cost, affected by difficulty and Ring of Haggler)
  • Hunger Satisfaction: Satisfies hunger for all healed characters (cures starving status)

Special Interaction - Gnoll Subclass Unlock

  • The Healer plays a crucial role in unlocking the Guardian subclass for the Gnoll hero class
  • When the player brings a Brute mob to the Healer and pays to heal it, this action triggers the “Gnoll Unlocked” badge
  • Once the badge is earned, Gnoll characters will automatically receive the Tome of Mastery at the start of the game to choose the Guardian subclass

Cost

  • Hero healing: Base 75 gold, multiplied by difficulty factor and potentially reduced by Ring of Haggler (-10%)
  • Pet healing: Base 50 gold per pet, multiplied by difficulty factor and potentially reduced by Ring of Haggler (-10%)
  • Healing cost is dynamically adjusted based on game difficulty via GameLoop.getDifficultyFactor()

Strategy

  • Visit the Healer early in the game if you need to restore health or satisfy hunger
  • Bring pet companions to the Healer when they take damage during dungeon exploration
  • For Gnoll players, consider finding and escorting a Brute to the Healer to unlock the Guardian subclass
  • The Healer occasionally speaks messages when the hero is nearby (within distance of 4 tiles), with 5% chance per turn

Code Implementation Details

Based on the Java source code:

  • Immobile: Set as immovable (movable = false)
  • Interaction: Opens WndPriest window when interacted with
  • Messages: Randomly speaks one of three messages when hero is nearby (within L2 distance of 4): “Free treatment for every adventurer!”, “Come back anytime you feel sick or hungry!”, or “I wonder why the church doesn't allow us to wear hats… it's really cold out here.”
  • Pet Treatment: The healer treats all pets as well as the hero, using PotionOfHealing.heal() with full healing (1.0f) for each patient
  • Brute Healing Unlock: When a mob with entity kind “Brute” is healed by the priest, it validates the Gnoll unlock badge via Badges.validateGnollUnlocked()

Source Code Reference

See Also

en/rpd/healer_npc.txt · Last modified: by 127.0.0.1