User Tools

Site Tools


mr:die_hard_spell

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:die_hard_spell [2026/06/06 20:21] – Wiki maintenance: Fix compliance issues in 5 random pages Qwen Assistantmr:die_hard_spell [2026/06/06 20:25] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Die Hard Spell - Code References ======
 +
 +{{ rpd:images:die_hard_spell.png|Die Hard Spell }}
 +
 +===== Java Classes =====
 +This entity is implemented in Lua, no Java class exists
 +
 +===== JSON Configuration =====
 +This entity is implemented in Lua, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="DieHardSpell_Name">Die Hard</string>
 +<string name="DieHardSpell_Info">Will temporarily increase your regeneration making you a real Die Hard.</string>
 +<string name="DieHardBuff_Name">Die Hard</string>
 +<string name="DieHardBuff_Info">Regeneration rate increased.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/DieHard.lua|DieHard.lua]] - Main spell implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/DieHard.lua|DieHard.lua]] - Buff implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/CustomSpellsList.lua|CustomSpellsList.lua]] - Spell list registration (Combat affinity)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/ChaosShieldLeft.lua|ChaosShieldLeft.lua]] - References DieHard as a possible random beneficial buff on shield block
 +
 +===== Key Properties from Code =====
 +**Spell Affinity:** Combat (listed in CustomSpellsList.lua under "Combat" category)
 +
 +**Spell Mechanics:**
 +  * **Targeting:** Self
 +  * **Mana Cost:** 5
 +  * **Cast Time:** 0.5 turns
 +  * **Cooldown:** 50 turns
 +  * **Spell Level:** 2 (affects requirements)
 +
 +**Buff Application:**
 +  * Applies "DieHard" buff to caster
 +  * **Buff Level:** `math.min(3, caster.skillLevel - spellLevel) + 2`
 +  * **Duration:** `buffLevel * 20 + 20` turns
 +  * **Regeneration Bonus:** Equal to buff level (HP per turn)
 +  * **Early Removal Chance:** 1 / caster.skillLevel chance when damaged
 +
 +===== Related mr Entities =====
 +  * [[mr:die_hard_buff|Die Hard (Buff)]]
 +  * [[mr:chaos_shield_left_buff|Chaos Shield Left Buff]] - Can grant DieHard as random effect
 +
 +{{tag> mr spells combat reference machine-readable}}
  
mr/die_hard_spell.txt · Last modified: by 127.0.0.1