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.
19 lines
584 B
Lua
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
|