landsandboat/scripts/actions/abilities/lasting_emanation.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

21 lines
735 B
Lua

-----------------------------------
-- Ability: Lasting Emanation
-- Reduces the amount of HP your luopan consumes.
-- Obtained: Geomancer Level 25
-- Recast Time: 00:05:00
-- Duration: N/A
-- Notes: Base HP drain rate is 24 HP/tic. With Lasting Emenation it is 17HP/tic.
-- Operates on a shared recast timer with Ecliptic Attrition.
-----------------------------------
---@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)
xi.job_utils.geomancer.lastingEmanation(player, target, ability, action)
end
return abilityObject