sonic-radiance/sonic-radiance.love/game/loot/effects/protectelem.lua

19 lines
418 B
Lua
Raw Normal View History

2020-09-19 11:10:20 +02:00
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