landsandboat/scripts/actions/abilities/convergence.lua
sruon 3231f65733
[core, lua] Move Spell AoE type and radius calculation to lua (#8844)
* UTSUSEMI_AOE mod to toggle AoE on Utsusemi spells

* Deprecate unused isSpellAoE

* CSpell accessors for radius and level

* Spell AoE type and radius calculations moved to Lua

* BLU Convergence Ability script

* GEO Theurgic Focus Ability script

* AoE Spells tests
2025-12-07 04:28:28 +01:00

19 lines
686 B
Lua

-----------------------------------
-- Ability: Convergence
-- Increases the power of your next magical blue magic spell. Limits area of effect to single target.
-- Obtained: Blue Mage Level 75
-- Recast Time: 10:00
-- Duration: 1:00, or until the next eligible blue magic spell is cast.
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
xi.job_utils.blue_mage.checkConvergence(player, target, ability)
end
abilityObject.onUseAbility = function(player, target, ability, action)
return xi.job_utils.blue_mage.useConvergence(player, target, ability, action)
end
return abilityObject