36 lines
1.3 KiB
Lua
36 lines
1.3 KiB
Lua
-----------------------------------
|
|
-- Quietus
|
|
-- Scythe weapon skill
|
|
-- Skill Level: N/A
|
|
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
|
|
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
|
|
-- Aligned with the Shadow Gorget, Aqua Gorget & Snow Gorget.
|
|
-- Aligned with the Shadow Belt, Aqua Belt & Snow Belt.
|
|
-- Element: None
|
|
-- Modifiers: STR: 60% MND: 60%
|
|
-- 100%TP 200%TP 300%TP
|
|
-- 3.00 3.00 3.00
|
|
-----------------------------------
|
|
---@type TWeaponSkill
|
|
local weaponskillObject = {}
|
|
|
|
weaponskillObject.onUseWeaponSkill = function(player, target, wsID, tp, primary, action, taChar)
|
|
local params = {}
|
|
params.numHits = 1
|
|
params.ftpMod = { 3.0, 3.0, 3.0 }
|
|
params.str_wsc = 0.4 params.mnd_wsc = 0.4
|
|
params.ignoredDefense = { 0.1, 0.3, 0.5 }
|
|
|
|
if xi.settings.main.USE_ADOULIN_WEAPON_SKILL_CHANGES then
|
|
params.str_wsc = 0.6 params.mnd_wsc = 0.6
|
|
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
|