mr:heal_spell
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)
magicAffinity = “Witchcraft”targetingType = “char”level = 2castTime = 1spellCost = 5cooldown = 2
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
Related mr Entities
mr/heal_spell.txt · Last modified: by 127.0.0.1
