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

18 lines
459 B
Lua

-----------------------------------
-- Ability: Mug
-- Steal gil from enemy.
-- Obtained: Thief Level 35
-- Recast Time: 5:00
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return 0, 0
end
abilityObject.onUseAbility = function(player, target, ability, action)
return xi.job_utils.thief.useMug(player, target, ability, action)
end
return abilityObject