Skip to content

Commit

Permalink
Merge pull request #949 from wowsims/fix/critical-tick-percent
Browse files Browse the repository at this point in the history
[FIX][UI] Crit % for ticks
  • Loading branch information
1337LutZ authored Aug 21, 2024
2 parents f066a6a + 43e61c1 commit 65f0028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/core/proto_utils/sim_result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 65f0028

Please sign in to comment.