landsandboat/scripts/actions/abilities/cover.lua
sruon 2000fdf5e2 Abilities return granted status effect
Co-Authored-By: atom0s <atom0s@users.noreply.github.com>
2025-10-26 04:20:28 -06:00

20 lines
645 B
Lua

-----------------------------------
-- Ability: Cover
-- Allows you to protect party members by placing yourself between them and the enemy.
-- Obtained: Paladin Level 35
-- Recast Time: 0:03:00
-- Duration: 0:00:15 - 0:00:35
-- Info from https://www.bg-wiki.com/bg/Cover
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return xi.job_utils.paladin.checkCover(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability)
return xi.job_utils.paladin.useCover(player, target, ability)
end
return abilityObject