Table of Contents
Heal
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
- 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:
- Witchcraft affinity users
- Priest affinity users
- Plague Doctor affinity users
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
- Lua Implementation: Heal.lua
- Spell Availability (Common): CustomSpellsList.lua#L9
- Spell Availability (Witchcraft): CustomSpellsList.lua#L13
- Spell Availability (Priest): CustomSpellsList.lua#L16
- Spell Availability (PlagueDoctor): CustomSpellsList.lua#L17
- Spell Base Class (Lua): spell.lua - Base spell implementation
- Common Classes Library: commonClasses.lua - RPD module import
- English String Resources: strings_all.xml#L2679-L2680
- Russian String Resources: strings_all.xml#L2681-L2682
- Spanish String Resources: strings_all.xml#L2519-L2520
- French String Resources: strings_all.xml#L2666-L2667
- German String Resources: strings_all.xml#L2502-L2503
- Chinese String Resources: strings_all.xml#L2510-L2511
- Japanese String Resources: strings_all.xml#L2518-L2519
- Portuguese String Resources: strings_all.xml#L2508-L2509
- Turkish String Resources: strings_all.xml#L2547-L2548
- Indonesian String Resources: strings_all.xml#L2503-L2504
- Heal healing mechanism: Char.java#L99-L107 - heal() method that the spell calls
- Lua spell framework: LuaSpell.java - Java class that handles Lua spell execution
- Java Healing Spell: Healing.java - Different Java-based healing spell (30% self-targeted)
- Formula verification: The Lua code shows heal = target:ht() / 5. * caster:skillLevel() with minimum of 1
- Java Healing Spell Code References:
- Healing.java#L15-L20 - Stats initialization (targeting, affinity, level, image, cost)
- Healing.java#L23-L27 - Exact healing calculation 1)
- Healing.java - Java-based healing spell that heals 30% of target's max HP, targets self only, costs 10 mana, level 3 spell
- Last updated: Latest commit
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_NameandHeal_Infoin 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
- Healing Spell - The Java-based healing spell (different from this Heal spell)
- Hero - Main playable character
- Status Effects - Various status effects in the game
- Mana - Mana system mechanics
- Caster - Characters that can cast spells
- Targeting - Different targeting mechanisms in the game
- Buffs and Debuffs - Status effects that can be healed
- Spell Mana Costs - Information about mana costs for spells
- Caster Hero Classes - Classes that specialize in spellcasting

