2020-09-13 13:25:44 +02:00
|
|
|
local EffectParent = Object:extend()
|
|
|
|
|
2021-03-12 21:50:45 +01:00
|
|
|
function EffectParent:new(effect, character, duration)
|
2020-09-19 11:10:20 +02:00
|
|
|
self.effect = effect
|
|
|
|
self.character = character
|
2021-03-12 21:50:45 +01:00
|
|
|
self.duration = duration
|
2020-09-13 13:25:44 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
function EffectParent:applyEffect()
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function EffectParent:getText()
|
|
|
|
return "No effect"
|
|
|
|
end
|
|
|
|
|
2021-03-12 21:14:17 +01:00
|
|
|
function EffectParent:battleCallback(fighter)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
2020-09-13 13:25:44 +02:00
|
|
|
return EffectParent
|