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

20 lines
522 B
Lua

-----------------------------------
-- xi.effect.DIVINE_SEAL
-----------------------------------
---@type TEffect
local effectObject = {}
effectObject.onEffectGain = function(target, effect)
-- Overwrites
target:delStatusEffectSilent(xi.effect.DARK_SEAL)
target:delStatusEffectSilent(xi.effect.DIVINE_EMBLEM)
target:delStatusEffectSilent(xi.effect.ELEMENTAL_SEAL)
end
effectObject.onEffectTick = function(target, effect)
end
effectObject.onEffectLose = function(target, effect)
end
return effectObject