Implements Overdrive / Tactical Switch / Cleans up some functions in automaton.lua / Fixes burden calculations.
19 lines
632 B
Lua
19 lines
632 B
Lua
-----------------------------------
|
|
-- Ability: Overdrive
|
|
-- Augments the fighting ability of your automaton to its maximum level.
|
|
-- Obtained: Puppetmaster Level 1
|
|
-- Recast Time: 1:00:00
|
|
-- Duration: 1:00
|
|
-----------------------------------
|
|
---@type TAbility
|
|
local abilityObject = {}
|
|
|
|
abilityObject.onAbilityCheck = function(player, target, ability)
|
|
return xi.job_utils.puppetmaster.onAbilityCheckOverdrive(player, target, ability)
|
|
end
|
|
|
|
abilityObject.onUseAbility = function(player, target, ability, action)
|
|
return xi.job_utils.puppetmaster.onAbilityUseOverdrive(player, target, ability, action)
|
|
end
|
|
|
|
return abilityObject
|