mr:die_hard_spell
Table of Contents
Die Hard Spell - Code References
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
<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>
Lua Scripts
- DieHard.lua - Main spell implementation
- DieHard.lua - Buff implementation
- CustomSpellsList.lua - Spell list registration (Combat affinity)
- 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
- Chaos Shield Left Buff - Can grant DieHard as random effect
mr/die_hard_spell.txt · Last modified: by 127.0.0.1

