29 lines
1 KiB
Lua
29 lines
1 KiB
Lua
-----------------------------------
|
|
-- Penta Thrust
|
|
-- Polearm weapon skill
|
|
-- Skill Level: 150
|
|
-- Delivers a five-hit attack. params.accuracy varies with TP.
|
|
-- 0.875 Attack penalty
|
|
-- Will stack with Sneak Attack.
|
|
-- Aligned with the Shadow Gorget.
|
|
-- Aligned with the Shadow Belt.
|
|
-- Element: None
|
|
-- Modifiers: STR:20% DEX:20%
|
|
-- 100%TP 200%TP 300%TP
|
|
-- 1.00 1.00 1.00
|
|
-----------------------------------
|
|
---@type TWeaponSkill
|
|
local weaponskillObject = {}
|
|
|
|
weaponskillObject.onUseWeaponSkill = function(player, target, wsID, tp, primary, action, taChar)
|
|
local params = {}
|
|
params.numHits = 5
|
|
params.ftpMod = { 1.0, 1.0, 1.0 }
|
|
params.str_wsc = 0.2 params.dex_wsc = 0.2
|
|
params.accVaries = { 0, 30, 60 } -- TODO: verify exact number
|
|
params.atkVaries = { 0.875, 0.875, 0.875 }
|
|
local damage, criticalHit, tpHits, extraHits = xi.weaponskills.doPhysicalWeaponskill(player, target, wsID, params, tp, action, primary, taChar)
|
|
return tpHits, extraHits, criticalHit, damage
|
|
end
|
|
|
|
return weaponskillObject
|