2016-01-16 01:26:33 -05:00
|
|
|
-----------------------------------
|
|
|
|
|
-- Ability: Chainspell
|
|
|
|
|
-- Allows rapid spellcasting.
|
|
|
|
|
-- Obtained: Red Mage Level 1
|
|
|
|
|
-- Recast Time: 1:00:00
|
|
|
|
|
-- Duration: 0:01:00
|
|
|
|
|
-----------------------------------
|
2024-08-25 10:24:42 -04:00
|
|
|
---@type TAbility
|
2022-10-06 17:14:01 +03:00
|
|
|
local abilityObject = {}
|
2015-04-24 16:13:06 +08:00
|
|
|
|
2022-10-06 17:14:01 +03:00
|
|
|
abilityObject.onAbilityCheck = function(player, target, ability)
|
2022-08-16 12:09:51 -06:00
|
|
|
return xi.job_utils.red_mage.checkChainspell(player, target, ability)
|
2018-08-07 19:36:44 -04:00
|
|
|
end
|
2013-03-06 04:47:29 +00:00
|
|
|
|
2022-10-06 17:14:01 +03:00
|
|
|
abilityObject.onUseAbility = function(player, target, ability)
|
2025-10-26 04:16:05 -06:00
|
|
|
return xi.job_utils.red_mage.useChainspell(player, target, ability)
|
2020-03-19 18:41:42 -07:00
|
|
|
end
|
2021-01-17 10:31:48 -05:00
|
|
|
|
2022-10-06 17:14:01 +03:00
|
|
|
return abilityObject
|