mr:exhumation_spell
Table of Contents
Exhumation 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="Exhumation_Name">Exhumation</string> <string name="Exhumation_Info">Opening the tomb is a sinister act on it own, but not enough for someone serving Death itself. Performer of this Dark Ritual has a great chance (and it will grow with the performer\'s mastery) to subdue a poor soul of one lying here.</string> <string name="Exhumation_NoGrave">There is no grave here to perform an Exhumation.</string> <string name="Exhumation_Ok">I will obey you.</string>
Lua Scripts
- Exhumation.lua - Main spell implementation
- CustomSpellsList.lua - Spell registration (spells[“Necromancy”] includes “Exhumation”)
Implementation Details
- Targeting Type: cell
- Level: 2
- Cast Time: 2
- Spell Cost: 10
- Magic Affinity: Necromancy
- Image: 3 (from spellsIcons/necromancy.png)
- Functionality: Opens tombs and skeletons, tames nearby Wraiths with chance based on caster's magic level
- Spell Category: Custom spell (Lua-implemented)
- Related Spells: RaiseDead, DarkSacrifice, Possess (all Necromancy affinity)
Code Behavior
- Checks if target cell contains a heap (tomb or skeleton)
- Opens the heap when cast on valid target
- Checks adjacent cells for Wraith mobs
- Tames Wraiths with probability: 1 - (1 / (magicLevel + 1))
- Tamed Wraith says “Exhumation_Ok” dialog
- Returns false if no valid heap found at target cell
Additional Information
- Used by Necromancer class for corpse manipulation
- Synergizes with other Necromancy spells for undead army building
- Requires strategic positioning to maximize Wraith taming potential
mr/exhumation_spell.txt · Last modified: by 127.0.0.1
