landsandboat/scripts/actions/abilities/fight.lua
2026-01-31 19:23:03 -07:00

19 lines
555 B
Lua

-----------------------------------
-- Ability: Fight
-- Commands your pet to attack the target.
-- Obtained: Beastmaster Level 1
-- Recast Time: 10 seconds
-- Duration: N/A
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.beastmaster.checkFight(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability)
return xi.job_utils.beastmaster.useFight(player, target, ability)
end
return abilityObject