User Tools

Site Tools


rpd:die_hard_spell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rpd:die_hard_spell [2025/12/25 12:30] – Wiki maintenance: rename pages to follow proper naming conventions, update content, and fix links mikerpd:die_hard_spell [2025/12/25 12:32] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== DieHardSpell ======
 +
 +{{ rpd:images:die_hard_spell_icon.png|DieHardSpell Spell Icon }}
 +
 +**DieHardSpell** is a spell in Remixed Pixel Dungeon (Combat Affinity).
 +
 +==== Description ====
 +Will temporarily increase your regeneration making you a real Die Hard.
 +
 +==== Stats ====
 +  * **Magic Affinity:** Combat
 +  * **Targeting:** self
 +  * **Level:** 2 (spell level, affects requirements)
 +  * **Mana Cost:** 5
 +  * **Cast Time:** 0.5 turns
 +  * **Cooldown:** 50 turns
 +
 +==== Mechanics ====
 +When cast, the DieHard spell applies the DieHard buff to the caster with the following duration and level:
 +  * **Buff Duration**: `math.min(3, caster.skillLevel - 2) + 2` * 20 + 20 turns
 +  * **Regeneration Bonus**: Equal to the buff level (amount of life regenerated per turn)
 +  * **Chance to Detach**: When damaged, there's a 1 / caster's skill level chance that the buff will end early
 +
 +==== Buff Details ====
 +The DieHard buff:
 +  * Provides a regeneration bonus of +1 HP per turn per buff level
 +  * Lasts for a duration calculated based on caster's skill level
 +  * Has a chance to be removed when the player takes damage
 +
 +==== Usage ====
 +The DieHardSpell spell can be used for:
 +  * **Defensive applications**: Healing during or after combat
 +  * **Strategic applications**: Sustaining through dangerous areas
 +  * **Emergency healing**: Recovery from damage when low on health
 +
 +==== Classes ====
 +Classes that can use this spell include:
 +  * Classes with Combat affinity (e.g., [[rpd:warrior_class|Warrior]])
 +  * Other classes that gain access through special means
 +
 +==== Strategy ====
 +How to effectively use the DieHardSpell spell:
 +  * **Best situations**: Use after heavy combat or before entering dangerous areas
 +  * **Timing considerations**: Consider the 50-turn cooldown when planning usage
 +  * **Risk management**: Be aware the buff may end early if you take damage
 +
 +==== Data Validation ====
 +This information is extracted directly from the game code and validated against the source implementation. The details are accurate as of the referenced source files and provide reliable information about the spell mechanics.
 +
 +==== Content Verification ====
 +* Information source: Lua Script in Remixed Dungeon codebase
 +* Stats verified: Yes, extracted directly from spell class properties
 +* Effect descriptions: Generated from code analysis and string resources
 +* Last updated: 2025-12-12 based on DieHard.lua
 +
 +==== Source Code ====
 +This page content is based on the Lua Script: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/DieHard.lua|DieHard]]
 +This page content also references the Buff Script: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/DieHard.lua|DieHard Buff]]
 +
 +==== See Also ====
 +  * [[rpd:spells|Spells]]
 +  * [[rpd:mechanics|Game Mechanics]]
 +  * [[rpd:combat|Combat Affinity]]
 +  * [[rpd:regeneration_buff|Regeneration]]
 +
 +{{tag> rpd spells combat }}
  
rpd/die_hard_spell.txt · Last modified: by 127.0.0.1