landsandboat/scripts/effects/prowess_cure_potency.lua

20 lines
472 B
Lua
Raw Permalink Normal View History

2016-01-16 01:26:33 -05:00
-----------------------------------
2021-04-01 15:10:15 -04:00
-- xi.effect.PROWESS
2021-01-07 04:57:11 -05:00
-- Enhanced "Cure" potency
2016-01-16 01:26:33 -05:00
-----------------------------------
---@type TEffect
local effectObject = {}
2016-01-16 01:26:33 -05:00
effectObject.onEffectGain = function(target, effect)
2021-04-01 15:10:15 -04:00
target:addMod(xi.mod.CURE_POTENCY, effect:getPower())
end
2016-01-16 01:26:33 -05:00
effectObject.onEffectTick = function(target, effect)
end
2016-01-16 01:26:33 -05:00
effectObject.onEffectLose = function(target, effect)
2021-04-01 15:10:15 -04:00
target:delMod(xi.mod.CURE_POTENCY, effect:getPower())
end
return effectObject