mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 04:48:15 +03:00
feat: add highest256 support and notesPerMeasure
This commit is contained in:
@@ -2289,9 +2289,11 @@ const GAME_PT_CONFIGS: GamePTConfigs = {
|
||||
scoreRatingAlgDescriptions: {
|
||||
blockRating: "How much this clear is worth.",
|
||||
highest32: "The highest BPM this score streamed 32 measures straight for.",
|
||||
highest256: "The highest BPM this score streamed 256 measures straight for.",
|
||||
},
|
||||
profileRatingAlgDescriptions: {
|
||||
highest32: "The highest BPM this user has streamed 32 unbroken measures at.",
|
||||
highest256: "The highest BPM this user has streamed 256 unbroken measures at.",
|
||||
highestBlock: "The highest block level this player has cleared.",
|
||||
},
|
||||
sessionRatingAlgDescriptions: {
|
||||
|
||||
@@ -393,6 +393,7 @@ function GetChartDataForGPT(idString: IDStrings): PrudenceSchema {
|
||||
simplified: "string",
|
||||
total: "string",
|
||||
npsPerMeasure: [p.isPositive],
|
||||
notesPerMeasure: [p.isPositive],
|
||||
},
|
||||
tech: {
|
||||
crossovers: p.isPositiveInteger,
|
||||
|
||||
+3
-2
@@ -705,7 +705,7 @@ export interface UGSRatingsLookup {
|
||||
"wacca:Single": "naiveRate" | "rate";
|
||||
"pms:Controller": "sieglinde";
|
||||
"pms:Keyboard": "sieglinde";
|
||||
"itg:Stamina": "highestBlock" | "highest32";
|
||||
"itg:Stamina": "highestBlock" | "highest32" | "highest256";
|
||||
}
|
||||
|
||||
export interface UserGameStats<I extends IDStrings = IDStrings> extends MongoDBDocument {
|
||||
@@ -836,6 +836,7 @@ interface ChartDocumentData {
|
||||
simplified: string;
|
||||
total: string;
|
||||
npsPerMeasure: Array<number>;
|
||||
notesPerMeasure: Array<number>;
|
||||
};
|
||||
tech: {
|
||||
crossovers: integer;
|
||||
@@ -1194,7 +1195,7 @@ export interface ScoreCalculatedDataLookup {
|
||||
"wacca:Single": "rate";
|
||||
"pms:Controller": "sieglinde";
|
||||
"pms:Keyboard": "sieglinde";
|
||||
"itg:Stamina": "blockRating" | "highest32";
|
||||
"itg:Stamina": "blockRating" | "highest32" | "highest256";
|
||||
}
|
||||
|
||||
export interface ScoreDocument<I extends IDStrings = IDStrings> extends MongoDBDocument {
|
||||
|
||||
Reference in New Issue
Block a user