@@ -2357,7 +2357,8 @@ local skills, mod, flag, skill = ...
23572357 t_insert(breakdownAPS, "")
23582358 t_insert(breakdownAPS, s_format("^6Lockstep"))
23592359 t_insert(breakdownAPS, s_format("^8Effective delay:^7 (%.1f + %.2f) x %.4f = %.4fs", hoverDelay, baseTimeForAllProjectiles, durationMod, effectiveDelay))
2360- t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelay, maxEffectiveAPS))
2360+ t_insert(breakdownAPS, s_format("^8Rounded up to nearest server tick^7 = %.4fs", effectiveDelayRounded))
2361+ t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelayRounded, maxEffectiveAPS))
23612362 if currentAPS then
23622363 local currentInc = activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "Speed")
23632364 local neededInc = ((maxEffectiveAPS / currentAPS) * (1 + currentInc / 100) - 1) * 100
@@ -2375,8 +2376,7 @@ local skills, mod, flag, skill = ...
23752376 t_insert(breakdownAPS, "")
23762377 t_insert(breakdownAPS, s_format("^6Predictive"))
23772378 t_insert(breakdownAPS, s_format("^8Effective delay:^7 (%.1f + %.2f) x %.4f = %.4fs", hoverDelay, baseTimeForAllProjectiles, durationMod, effectiveDelay))
2378- t_insert(breakdownAPS, s_format("^8rounded up to nearest server tick^7 = %.4fs", effectiveDelayRounded))
2379- t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelayRounded, maxEffectivePredictiveAPS))
2379+ t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelay, maxEffectivePredictiveAPS))
23802380 if currentAPS > maxEffectivePredictiveAPS then
23812381 t_insert(breakdownAPS, s_format("^1Current attack rate (%.2f) exceeds max effective rate!", currentAPS))
23822382 t_insert(breakdownAPS, s_format("^1Reduce attack speed by at least^7 %d%% ^1", math.ceil(-additionalPredictiveInc)))
@@ -2499,7 +2499,8 @@ local skills, mod, flag, skill = ...
24992499 t_insert(breakdownAPS, "")
25002500 t_insert(breakdownAPS, s_format("^6Lockstep"))
25012501 t_insert(breakdownAPS, s_format("^8Effective delay:^7 (%.1f + %.2f) x %.4f = %.4fs", hoverDelay, baseTimeForAllProjectiles, durationMod, effectiveDelay))
2502- t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelay, maxEffectiveAPS))
2502+ t_insert(breakdownAPS, s_format("^8Rounded up to nearest server tick^7 = %.4fs", effectiveDelayRounded))
2503+ t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelayRounded, maxEffectiveAPS))
25032504 if currentAPS then
25042505 local currentInc = activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "Speed")
25052506 local neededInc = ((maxEffectiveAPS / currentAPS) * (1 + currentInc / 100) - 1) * 100
@@ -2517,8 +2518,7 @@ local skills, mod, flag, skill = ...
25172518 t_insert(breakdownAPS, "")
25182519 t_insert(breakdownAPS, s_format("^6Predictive"))
25192520 t_insert(breakdownAPS, s_format("^8Effective delay:^7 (%.1f + %.2f) x %.4f = %.4fs", hoverDelay, baseTimeForAllProjectiles, durationMod, effectiveDelay))
2520- t_insert(breakdownAPS, s_format("^8rounded up to nearest server tick^7 = %.4fs", effectiveDelayRounded))
2521- t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelayRounded, maxEffectivePredictiveAPS))
2521+ t_insert(breakdownAPS, s_format("^8Max effective attack rate:^7 1 / %.4f = %.2f", effectiveDelay, maxEffectivePredictiveAPS))
25222522 if currentAPS > maxEffectivePredictiveAPS then
25232523 t_insert(breakdownAPS, s_format("^1Current attack rate (%.2f) exceeds max effective rate!", currentAPS))
25242524 t_insert(breakdownAPS, s_format("^1Reduce attack speed by at least^7 %d%% ^1", math.ceil(-additionalPredictiveInc)))
0 commit comments