landsandboat/scripts/actions/abilities/chainspell.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
549 B
Lua

-----------------------------------
-- Ability: Chainspell
-- Allows rapid spellcasting.
-- Obtained: Red Mage Level 1
-- Recast Time: 1:00:00
-- Duration: 0:01:00
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.red_mage.checkChainspell(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability)
return xi.job_utils.red_mage.useChainspell(player, target, ability)
end
return abilityObject