sonic-radiance/sonic-radiance.love/game/loot/effects/protectelem.lua
2020-09-19 11:10:20 +02:00

19 lines
No EOL
418 B
Lua

local ParentEffect = require "game.loot.effects.parent"
local ProtectElemEffect = ParentEffect:extend()
function ProtectElemEffect:new(effect, character)
self.effect = effect
self.character = character
end
function ProtectElemEffect:applyEffect()
end
function ProtectElemEffect:getText()
local returnString = "Protect from " .. self.effect.element
return returnString
end
return ProtectElemEffect