add bombs to miss count
This commit is contained in:
parent
36ab7eb4cf
commit
9c20aff89d
@ -191,7 +191,7 @@ export class ScoreService {
|
|||||||
songDifficulty: difficultyKey,
|
songDifficulty: difficultyKey,
|
||||||
songScore: score.baseScore,
|
songScore: score.baseScore,
|
||||||
misses: {
|
misses: {
|
||||||
misses: score.missedNotes + score.badCuts,
|
misses: score.missedNotes + score.badCuts + score.bombCuts,
|
||||||
missedNotes: score.missedNotes,
|
missedNotes: score.missedNotes,
|
||||||
bombCuts: score.bombCuts,
|
bombCuts: score.bombCuts,
|
||||||
badCuts: score.badCuts,
|
badCuts: score.badCuts,
|
||||||
@ -209,7 +209,7 @@ export class ScoreService {
|
|||||||
data.scoreImprovement = {
|
data.scoreImprovement = {
|
||||||
score: rawScoreImprovement.score,
|
score: rawScoreImprovement.score,
|
||||||
misses: {
|
misses: {
|
||||||
misses: rawScoreImprovement.missedNotes + rawScoreImprovement.badCuts,
|
misses: rawScoreImprovement.missedNotes + rawScoreImprovement.badCuts + rawScoreImprovement.bombCuts,
|
||||||
missedNotes: rawScoreImprovement.missedNotes,
|
missedNotes: rawScoreImprovement.missedNotes,
|
||||||
bombCuts: rawScoreImprovement.bombCuts,
|
bombCuts: rawScoreImprovement.bombCuts,
|
||||||
badCuts: rawScoreImprovement.badCuts,
|
badCuts: rawScoreImprovement.badCuts,
|
||||||
|
@ -51,7 +51,7 @@ export default function ScoreMissesBadge({ score, hideXMark }: ScoreMissesBadgeP
|
|||||||
fullCombo={scoreImprovement.fullCombo}
|
fullCombo={scoreImprovement.fullCombo}
|
||||||
>
|
>
|
||||||
<div className="flex gap-1 items-center">
|
<div className="flex gap-1 items-center">
|
||||||
{previousScoreMisses.missedNotes == 0 ? (
|
{scoreImprovement.fullCombo ? (
|
||||||
<p className="text-green-400">FC</p>
|
<p className="text-green-400">FC</p>
|
||||||
) : (
|
) : (
|
||||||
formatNumberWithCommas(previousScoreMisses.misses)
|
formatNumberWithCommas(previousScoreMisses.misses)
|
||||||
|
Reference in New Issue
Block a user