local ParentEffect = require "game.loot.effects.parent" local HealEffect = ParentEffect:extend() function HealEffect:new(effect, character) self.effect = effect self.character = character end function HealEffect:applyEffect() end function HealEffect:getText() local num = self.effect.value if (self.effect.computationMode == "percent") then num = num .. "%" end local type = "" if (self.effect.healType == "hp") then type = "HP" end if (self.effect.healType == "mp") then type = "MP" end return "Heal " .. num .. " " .. type; end return HealEffect