36 lines
928 B
Lua
36 lines
928 B
Lua
-----------------------------------
|
|
-- Ability: Tacticians's Roll
|
|
-- Grants a Regain effect to party members within area of effect.
|
|
-- Optimal Job: None
|
|
-- Lucky Number: 5
|
|
-- Unlucky Number: 8
|
|
-- Level: 86
|
|
-- Phantom Roll +1 Value: 2
|
|
--
|
|
-- Die Roll | Regain
|
|
-- -------- -------
|
|
-- 1 |+10
|
|
-- 2 |+10
|
|
-- 3 |+10
|
|
-- 4 |+10
|
|
-- 5 |+30
|
|
-- 6 |+10
|
|
-- 7 |+10
|
|
-- 8 |+0
|
|
-- 9 |+20
|
|
-- 10 |+20
|
|
-- 11 |+40
|
|
-- Bust |-10
|
|
-----------------------------------
|
|
---@type TAbility
|
|
local abilityObject = {}
|
|
|
|
abilityObject.onAbilityCheck = function(player, target, ability)
|
|
return xi.job_utils.corsair.onRollAbilityCheck(player, target, ability)
|
|
end
|
|
|
|
abilityObject.onUseAbility = function(caster, target, ability, action)
|
|
return xi.job_utils.corsair.onRollUseAbility(caster, target, ability, action)
|
|
end
|
|
|
|
return abilityObject
|