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.
20 lines
633 B
Lua
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
|