From 5e659f8daaeb3a2f164684ce4e176850fa4ca1f5 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 30 Jan 2022 21:59:42 +0000 Subject: [PATCH] Add support for naiveSkill in GITADORA> --- common/src/config/config.ts | 10 ++++++++-- common/src/types.ts | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/common/src/config/config.ts b/common/src/config/config.ts index ca666a576..7bd9d8d59 100644 --- a/common/src/config/config.ts +++ b/common/src/config/config.ts @@ -1596,7 +1596,9 @@ const GAME_PT_CONFIGS: GamePTConfigs = { skill: "Skill Rating as it's implemented in game.", }, profileRatingAlgDescriptions: { - skill: "Your profile skill as it's implemented in game.", + skill: "Your profile skill as it's implemented in game -- 25 HOT and 25 not HOT.", + naiveSkill: + "Your best 50 skill levels added together, regardless of whether the chart is HOT or not.", }, sessionRatingAlgDescriptions: { skill: "The average of your best 10 skill ratings this session.", @@ -1607,6 +1609,7 @@ const GAME_PT_CONFIGS: GamePTConfigs = { }, profileRatingAlgFormatters: { skill: FormatInt, + naiveSkill: FormatInt, }, sessionRatingAlgFormatters: { skill: FormatInt, @@ -1699,7 +1702,9 @@ const GAME_PT_CONFIGS: GamePTConfigs = { skill: "Skill Rating as it's implemented in game.", }, profileRatingAlgDescriptions: { - skill: "Your profile skill as it's implemented in game.", + skill: "Your profile skill as it's implemented in game -- 25 HOT and 25 not HOT.", + naiveSkill: + "Your best 50 skill levels added together, regardless of whether the chart is HOT or not.", }, sessionRatingAlgDescriptions: { skill: "The average of your best 10 skill ratings this session.", @@ -1710,6 +1715,7 @@ const GAME_PT_CONFIGS: GamePTConfigs = { }, profileRatingAlgFormatters: { skill: FormatInt, + naiveSkill: FormatInt, }, sessionRatingAlgFormatters: { skill: FormatInt, diff --git a/common/src/types.ts b/common/src/types.ts index dfcb4f4ed..754b71bc4 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -755,8 +755,8 @@ export interface UGSRatingsLookup { "bms:7K": "sieglinde"; "bms:14K": "sieglinde"; "chunithm:Single": "naiveRating"; - "gitadora:Gita": "skill"; - "gitadora:Dora": "skill"; + "gitadora:Gita": "skill" | "naiveSkill"; + "gitadora:Dora": "skill" | "naiveSkill"; "wacca:Single": "naiveRate" | "rate"; "pms:Controller": "sieglinde"; "pms:Keyboard": "sieglinde";