landsandboat/scripts/actions/abilities/repair.lua
sruon f95c826beb Set pet job abilities to self-cast instead of pet targeted
These abilities are all defined as self-cast and have no range check associated with them.
The lua scripts are updated to correctly reflect that the pet is affected as a result of the ability.
2025-12-04 22:47:40 -07:00

19 lines
584 B
Lua

-----------------------------------
-- Ability: Repair
-- Uses oil to restore pet's HP.
-- Obtained: Puppetmaster Level 15
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.puppetmaster.onAbilityCheckRepair(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability, action)
return xi.job_utils.puppetmaster.onAbilityUseRepair(player, target, ability, action)
end
return abilityObject