38 lines
1.1 KiB
Lua
38 lines
1.1 KiB
Lua
-----------------------------------
|
|
-- Ability: Wizard's Roll
|
|
-- Enhances magic attack for party members within area of effect
|
|
-- Optimal Job: Black Mage
|
|
-- Lucky Number: 5
|
|
-- Unlucky Number: 9
|
|
-- Level 58
|
|
-- Phantom Roll +1 Value: 2
|
|
--
|
|
-- Die Roll |No BLM |With BLM
|
|
-- -------- -------- -----------
|
|
-- 1 |+4 |+14
|
|
-- 2 |+6 |+16
|
|
-- 3 |+8 |+18
|
|
-- 4 |+10 |+20
|
|
-- 5 |+25 |+35
|
|
-- 6 |+12 |+22
|
|
-- 7 |+14 |+24
|
|
-- 8 |+17 |+27
|
|
-- 9 |+2 |+12
|
|
-- 10 |+20 |+10
|
|
-- 11 |+30 |+40
|
|
-- Bust |-10 |-10
|
|
--
|
|
-- If the Corsair is a lower level than the player receiving Wizard's Roll, the +MAB will be reduced
|
|
-----------------------------------
|
|
---@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
|