landsandboat/scripts/actions/abilities/stymie.lua
sruon 2000fdf5e2 Abilities return granted status effect
Co-Authored-By: atom0s <atom0s@users.noreply.github.com>
2025-10-26 04:20:28 -06:00

19 lines
682 B
Lua

-----------------------------------
-- Ability: Stymie
-- Greatly increases the accuracy of the next enfeebling magic spell.
-- Obtained: Red Mage Level 96
-- Recast Time: 1:00:00
-- Duration: Stymie fades after either sixty seconds passes or a spell lands, but it does not fade if the spell is resisted.
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.red_mage.checkStymie(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability)
return xi.job_utils.red_mage.useStymie(player, target, ability)
end
return abilityObject