landsandboat/scripts/actions/abilities/collaborator.lua
2024-08-25 10:24:42 -04:00

19 lines
588 B
Lua

-----------------------------------
-- Ability: Collaborator
-- Steals 25% of the target party member's enmity and redirects it to the thief.
-- Obtained: Thief Level 65
-- Recast Time: 1:00
-- Duration: Instant
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.thief.checkCollaborator(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability)
xi.job_utils.thief.useCollaborator(player, target, ability)
end
return abilityObject