From e110b7b78a507d1686d81920fbc4fb52adfc2f45 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 12 Jun 2022 04:09:05 +0100 Subject: [PATCH] feat: add highest32 to score --- common/src/config/config.ts | 3 ++- common/src/types.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/config/config.ts b/common/src/config/config.ts index 7af1fe786..1ea140fb3 100644 --- a/common/src/config/config.ts +++ b/common/src/config/config.ts @@ -2282,12 +2282,13 @@ const GAME_PT_CONFIGS: GamePTConfigs = { defaultSessionRatingAlg: "blockRating", defaultProfileRatingAlg: "highestBlock", - scoreRatingAlgs: ["blockRating"], + scoreRatingAlgs: ["blockRating", "highest32"], sessionRatingAlgs: ["blockRating"], profileRatingAlgs: ["highest32", "highestBlock"], scoreRatingAlgDescriptions: { blockRating: "How much this clear is worth.", + highest32: "The highest BPM this score streamed 32 measures straight for.", }, profileRatingAlgDescriptions: { highest32: "The highest BPM this user has streamed 32 unbroken measures at.", diff --git a/common/src/types.ts b/common/src/types.ts index 86989d309..02dc4cbac 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1193,7 +1193,7 @@ export interface ScoreCalculatedDataLookup { "wacca:Single": "rate"; "pms:Controller": "sieglinde"; "pms:Keyboard": "sieglinde"; - "itg:Stamina": "blockRating"; + "itg:Stamina": "blockRating" | "highest32"; } export interface ScoreDocument extends MongoDBDocument {