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