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

19 lines
569 B
Lua

-----------------------------------
-- Ability: Stay
-- Commands the Pet to stay in one place.
-- Obtained: Beastmaster Level 15
-- Recast Time: 5 seconds
-- Duration: Instant
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.beastmaster.checkPetCommand(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability, action)
return xi.job_utils.beastmaster.useStay(player, target, ability)
end
return abilityObject