19 lines
665 B
Lua
19 lines
665 B
Lua
-----------------------------------
|
|
-- Ability: Valiance
|
|
-- Reduces elemental damage for party members within area of effect. The types of elemental damage reduced depend on the runes you harbor.
|
|
-- Obtained: Rune Fencer Level 10
|
|
-- Recast Time: 5:00
|
|
-- Duration: 3:00
|
|
-----------------------------------
|
|
---@type TAbility
|
|
local abilityObject = {}
|
|
|
|
abilityObject.onAbilityCheck = function(player, target, ability)
|
|
return xi.job_utils.rune_fencer.checkHaveRunes(player)
|
|
end
|
|
|
|
abilityObject.onUseAbility = function(player, target, ability, action)
|
|
return xi.job_utils.rune_fencer.useVallationValiance(player, target, ability, action)
|
|
end
|
|
|
|
return abilityObject
|