From 43e61c1c85ab8d0c0c9c319f71be072c3362c00c Mon Sep 17 00:00:00 2001 From: Adrian Klingen Date: Wed, 21 Aug 2024 08:20:31 +0200 Subject: [PATCH] Fix crit % for ticks --- ui/core/proto_utils/sim_result.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/core/proto_utils/sim_result.ts b/ui/core/proto_utils/sim_result.ts index 2982f3241d..800c2c5f2a 100644 --- a/ui/core/proto_utils/sim_result.ts +++ b/ui/core/proto_utils/sim_result.ts @@ -1442,7 +1442,7 @@ export class TargetedActionMetrics { } get critTickPercent() { - return (this.data.critTicks / this.data.ticks) * 100; + return (this.data.critTicks / (this.data.ticks + this.data.critTicks)) * 100; } get blocks() {