20 lines
679 B
Lua
20 lines
679 B
Lua
-----------------------------------
|
|
-- Ability: Full Circle
|
|
-- Causes your luopan to vanish.
|
|
-- Obtained: Geomancer Level 5
|
|
-- Recast Time: 10 seconds
|
|
-- Refunds some of the MP consumed by the Geocolure spell that created the luopan.
|
|
-- Amount of MP restored varies depending on remaining Luopan HP.
|
|
-----------------------------------
|
|
---@type TAbility
|
|
local abilityObject = {}
|
|
|
|
abilityObject.onAbilityCheck = function(player, target, ability)
|
|
return xi.job_utils.geomancer.geoOnAbilityCheck(player, target, ability)
|
|
end
|
|
|
|
abilityObject.onUseAbility = function(player, target, ability)
|
|
xi.job_utils.geomancer.fullCircle(player, target, ability)
|
|
end
|
|
|
|
return abilityObject
|