37 lines
1.3 KiB
Lua
37 lines
1.3 KiB
Lua
-----------------------------------
|
|
-- Torcleaver
|
|
-- Skill Level: N/A
|
|
-- Description: Deals triple damage. Damage varies with TP. Caladbolg: Aftermath.
|
|
-- Available only when equipped with Caladbolg (85)/(90)/(95) or Espafut +1/+2/+3.
|
|
-- Aligned with the Light Gorget, Aqua Gorget & Snow Gorget.
|
|
-- Aligned with the Light Belt, Aqua Belt & Snow Belt.
|
|
-- Element: None
|
|
-- Skillchain Properties: Light/Distortion
|
|
-- Modifiers: VIT:60%
|
|
-- Damage Multipliers by TP:
|
|
-- 100%TP 200%TP 300%TP
|
|
-- 4.75 5.75 6.5
|
|
-----------------------------------
|
|
---@type TWeaponSkill
|
|
local weaponskillObject = {}
|
|
|
|
weaponskillObject.onUseWeaponSkill = function(player, target, wsID, tp, primary, action, taChar)
|
|
local params = {}
|
|
params.numHits = 1
|
|
params.ftpMod = { 4.75, 5.75, 6.5 }
|
|
params.vit_wsc = 0.6
|
|
|
|
if xi.settings.main.USE_ADOULIN_WEAPON_SKILL_CHANGES then
|
|
params.ftpMod = { 4.75, 7.5, 10.0 }
|
|
params.vit_wsc = 0.8
|
|
end
|
|
|
|
-- Apply aftermath
|
|
xi.aftermath.addStatusEffect(player, tp, xi.slot.MAIN, xi.aftermath.type.EMPYREAN)
|
|
|
|
local damage, criticalHit, tpHits, extraHits = xi.weaponskills.doPhysicalWeaponskill(player, target, wsID, params, tp, action, primary, taChar)
|
|
|
|
return tpHits, extraHits, criticalHit, damage
|
|
end
|
|
|
|
return weaponskillObject
|