User Tools

Site Tools


en:rpd:heal_spell

Heal

Heal Spell

Heal is a spell in Remixed Pixel Dungeon with Witchcraft Affinity (also available to Priest and PlagueDoctor affinities).

Description

The Heal spell restores a portion of the target's health instantly, making it valuable for emergency situations. The healing amount is calculated as 20% of the target's max HP multiplied by the caster's skill level (with a minimum of 1 HP healed).

Stats

  • Magic Affinity: Witchcraft (also available in Priest and Plague Doctor affinities)
  • Targeting: Char (can target any character on the map)
  • Level: 2
  • Mana Cost: 5
  • Cast Time: 1 turn
  • Cooldown: 2 turns

Mechanics

The spell heals the target character for (Max HP / 5 * Caster's skill level) hit points, with a minimum of 1 point healed, according to the Lua implementation.

The exact formula from the Lua code is: heal = target:ht() / 5. * caster:skillLevel()

This means that for a full-health target:

  • At caster skill level 1: heals 20% of target's max HP (minimum 1)
  • At caster skill level 2: heals 40% of target's max HP (minimum 1)
  • At caster skill level 3: heals 60% of target's max HP (minimum 1)
  • And so on…

Usage

The Heal spell can be used for:

  • Emergency health restoration during dangerous encounters
  • Healing yourself in combat situations
  • Healing allies or pets
  • Supporting pets during challenging fights

Strategy

  • Best used when health is critically low
  • Can heal allies and pets as well as yourself
  • Good for supporting pets during challenging fights
  • The healing scales with your skill level
  • Be mindful of the 2-turn cooldown when planning healing

Affinities

Affinities that can use this spell include:

Important Note

There is a different Java-based spell called “Healing” (not “Heal”) with different mechanics:

  • Healing.java - Heals 30% of target's max HP, targeting self only, costs 10 mana, level 3 spell
  • For more information on the Java-based Healing spell, see Healing Spell

Code References

Data Validation

  • Lua Spell Stats (Heal.lua): MagicAffinity = Witchcraft, TargetingType = char, Level = 2, CastTime = 1, SpellCost = 5, Cooldown = 2
  • Healing Formula (Lua): heal = target:ht() / 5. * caster:skillLevel() with minimum of 1 HP healing
  • Healing Effect (Lua): target:heal(math.max(1, heal), caster) - heals calculated amount with minimum 1 HP
  • String Resources: Heal_Name and Heal_Info in strings_all.xml
  • The heal method call in Char.java ensures the healing is properly applied with the caster as the source (for tracking and mechanics purposes)

See Also

1)
int) (chr.ht()*0.3
en/rpd/heal_spell.txt · Last modified: by 127.0.0.1