landsandboat/scripts/effects/full_speed_ahead.lua
claywar 7bba1bdc3a
[type] Add type annotations to Effect scripts
Fix delStatusEffect in atma.lua
2024-08-24 21:26:29 -04:00

22 lines
568 B
Lua

-----------------------------------
-- xi.effect.FULL_SPEED_AHEAD
-- Helper for quest: Full Speed Ahead!
-----------------------------------
require('scripts/quests/full_speed_ahead')
-----------------------------------
---@type TEffect
local effectObject = {}
effectObject.onEffectGain = function(target, effect)
xi.fsa.onEffectGain(target, effect)
end
effectObject.onEffectTick = function(target, effect)
xi.fsa.tick(target, effect)
end
effectObject.onEffectLose = function(target, effect)
xi.fsa.onEffectLose(target, effect)
end
return effectObject