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

21 lines
747 B
Lua

-----------------------------------
-- Ability: Run Wild
-- Your familiar will gain heightened powers, but will disappear when the effect expires.
-- Obtained: Beastmaster Level 93
-- Recast Time: 15 Minutes
-- Duration: 5:00
-- Notes: despawns your pet when the effect wears
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
-- same requirements as snarl: pet exists and is attacking a target
return xi.job_utils.beastmaster.checkSnarl(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability, action)
return xi.job_utils.beastmaster.useRunWild(player, target, ability, action)
end
return abilityObject