2016-01-16 01:26:33 -05:00
|
|
|
-----------------------------------
|
2021-04-01 15:10:15 -04:00
|
|
|
-- xi.effect.COMPOSURE
|
2018-05-19 13:05:52 -04:00
|
|
|
-- Increases accuracy and lengthens recast time. Enhancement effects gained through white
|
2018-08-07 19:19:03 -04:00
|
|
|
-- and black magic you cast on yourself last longer.
|
2016-01-16 01:26:33 -05:00
|
|
|
-----------------------------------
|
2024-08-24 21:26:29 -04:00
|
|
|
---@type TEffect
|
2022-10-06 17:22:04 +03:00
|
|
|
local effectObject = {}
|
2016-01-16 01:26:33 -05:00
|
|
|
|
2022-10-06 17:22:04 +03:00
|
|
|
effectObject.onEffectGain = function(target, effect)
|
2024-10-09 06:43:06 +02:00
|
|
|
local power = math.floor((24 * target:getMainLvl() + 74) / 49) + target:getJobPointLevel(xi.jp.COMPOSURE_EFFECT)
|
2021-04-11 11:27:05 -04:00
|
|
|
|
2024-10-09 06:43:06 +02:00
|
|
|
effect:addMod(xi.mod.ACC, power)
|
2018-08-07 19:36:44 -04:00
|
|
|
end
|
2016-01-16 01:26:33 -05:00
|
|
|
|
2022-10-06 17:22:04 +03:00
|
|
|
effectObject.onEffectTick = function(target, effect)
|
2018-08-07 19:36:44 -04:00
|
|
|
end
|
2016-01-16 01:26:33 -05:00
|
|
|
|
2022-10-06 17:22:04 +03:00
|
|
|
effectObject.onEffectLose = function(target, effect)
|
2020-03-19 18:41:42 -07:00
|
|
|
end
|
2021-01-07 03:22:42 -05:00
|
|
|
|
2022-10-06 17:22:04 +03:00
|
|
|
return effectObject
|