landsandboat/scripts/effects/gestation.lua

35 lines
884 B
Lua
Raw Permalink Normal View History

2023-10-07 12:23:27 +01:00
-----------------------------------
-- xi.effect.GESTATION
-- https://ffxiclopedia.fandom.com/wiki/Gestation
--
-- Effects
-- Gestation is a combination of the following:
-- - Completely undetectable, even to True Sight and True Hearing monsters
-- - Quickening
-- - Unable take any actions (attacks, spells, job abilities, etc.)
--
-- Duration
-- - Outside Belligerency: 18 hours
-- - During Belligerency: 1 minute
--
-- How to remove the effect
-- - Wait for the effect to wear off
-- - Remove manually
-----------------------------------
---@type TEffect
2023-10-07 12:23:27 +01:00
local effectObject = {}
2023-10-16 10:39:08 +01:00
local boostAmount = 50 -- +50% movement speed
2023-10-07 12:23:27 +01:00
effectObject.onEffectGain = function(target, effect)
effect:addMod(xi.mod.MOVE_SPEED_STACKABLE, boostAmount)
2023-10-07 12:23:27 +01:00
end
effectObject.onEffectTick = function(target, effect)
end
effectObject.onEffectLose = function(target, effect)
end
return effectObject