Table of Contents

Heal 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="Heal_Name">Heal</string>
<string name="Heal_Info">Restores HP to target. Higher level targets gain more HP.</string>
<string name="Heal_Gender">neuter</string>

Lua Scripts

Spell Properties (from Heal.lua)

Spell Implementation

castOnChar = function(self, spell, caster, target)
    if target then
        local heal = target:ht() / 5. * caster:skillLevel()
        target:heal(math.max(1, heal), caster)
    end
    return true
end