stopgap fix until I get time to properly fix it (#7769)
This commit is contained in:
@@ -1138,6 +1138,9 @@ function calcs.offence(env, actor, activeSkill)
|
||||
end
|
||||
output.TrapThrowingSpeed = baseSpeed * calcLib.mod(skillModList, skillCfg, "TrapThrowingSpeed") * output.ActionSpeedMod
|
||||
local trapThrowCount = calcLib.val(skillModList, "TrapThrowCount", skillCfg)
|
||||
if skillData.trapCooldown or skillData.cooldown then
|
||||
trapThrowCount = 1
|
||||
end
|
||||
output.TrapThrowCount = trapThrowCount
|
||||
output.TrapThrowingSpeed = m_min(output.TrapThrowingSpeed, data.misc.ServerTickRate)
|
||||
output.TrapThrowingTime = 1 / output.TrapThrowingSpeed
|
||||
@@ -1224,6 +1227,9 @@ function calcs.offence(env, actor, activeSkill)
|
||||
output.MineLayingSpeed = baseSpeed * calcLib.mod(skillModList, skillCfg, "MineLayingSpeed") * output.ActionSpeedMod
|
||||
-- Calculate additional mine throw
|
||||
local mineThrowCount = calcLib.val(skillModList, "MineThrowCount", skillCfg)
|
||||
if skillData.trapCooldown or skillData.cooldown then
|
||||
mineThrowCount = 1
|
||||
end
|
||||
output.MineThrowCount = mineThrowCount
|
||||
if mineThrowCount >= 1 then
|
||||
-- Throwing Mines takes 10% more time for each *additional* Mine thrown
|
||||
|
||||
Reference in New Issue
Block a user