landsandboat/scripts/actions/abilities/dematerialize.lua
sruon f95c826beb Set pet job abilities to self-cast instead of pet targeted
These abilities are all defined as self-cast and have no range check associated with them.
The lua scripts are updated to correctly reflect that the pet is affected as a result of the ability.
2025-12-04 22:47:40 -07:00

20 lines
633 B
Lua

-----------------------------------
-- Ability: Dematerialize
-- Enhances the effects of your luopan.
-- Prevents your luopan from receiving damage.
-- Obtained: Geomancer Level 70
-- Recast Time: 00:10:00
-- Duration: 00:01:00
-----------------------------------
---@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, action)
return xi.job_utils.geomancer.dematerialize(player, target, ability, action)
end
return abilityObject