landsandboat/scripts/actions/abilities/double_shot.lua
2024-08-25 10:24:42 -04:00

19 lines
593 B
Lua

-----------------------------------
-- Ability: Double Shot
-- Occasionally uses two units of ammunition to deal double damage.
-- Obtained: Ranger Level 79
-- Recast Time: 3:00
-- Duration: 1:30
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.ranger.checkDoubleShot(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability, action)
return xi.job_utils.ranger.useDoubleShot(player, target, ability, action)
end
return abilityObject