feat: add average32speed and patch bug

This commit is contained in:
zkldi
2022-06-12 16:35:15 +01:00
parent 7a63dce80e
commit d9bee51100
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -2282,9 +2282,9 @@ const GAME_PT_CONFIGS: GamePTConfigs = {
defaultSessionRatingAlg: "blockRating",
defaultProfileRatingAlg: "highestBlock",
scoreRatingAlgs: ["blockRating", "highest32"],
sessionRatingAlgs: ["blockRating"],
profileRatingAlgs: ["highest32", "highestBlock"],
scoreRatingAlgs: ["blockRating", "highest32", "highest256"],
sessionRatingAlgs: ["blockRating", "average32speed"],
profileRatingAlgs: ["highest32", "highestBlock", "highest256"],
scoreRatingAlgDescriptions: {
blockRating: "How much this clear is worth.",
@@ -2298,6 +2298,7 @@ const GAME_PT_CONFIGS: GamePTConfigs = {
},
sessionRatingAlgDescriptions: {
blockRating: "An average of your best 5 block levels cleared this session.",
average32speed: "An average of your fastest 5 32 measure runs this session.",
},
scoreRatingAlgFormatters: {},
+1 -1
View File
@@ -476,7 +476,7 @@ export interface SessionCalculatedDataLookup {
"wacca:Single": "rate";
"pms:Controller": "sieglinde";
"pms:Keyboard": "sieglinde";
"itg:Stamina": "blockRating";
"itg:Stamina": "blockRating" | "average32speed";
}
export interface SessionDocument<I extends IDStrings = IDStrings> extends MongoDBDocument {