18 lines
490 B
Lua
18 lines
490 B
Lua
-----------------------------------
|
|
-- Ability: Relinquish
|
|
-----------------------------------
|
|
require('scripts/globals/monstrosity')
|
|
-----------------------------------
|
|
---@type TAbility
|
|
local abilityObject = {}
|
|
|
|
abilityObject.onAbilityCheck = function(player, target, ability)
|
|
-- TODO: Block if being attacked
|
|
return 0, 0
|
|
end
|
|
|
|
abilityObject.onUseAbility = function(player, target, ability)
|
|
xi.monstrosity.relinquishOnAbility(player, target, ability)
|
|
end
|
|
|
|
return abilityObject
|