mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 10:58:07 +03:00
Revert "feat: change sieglinde visual representation"
This reverts commit 2de235b7ec.
This commit is contained in:
@@ -17,7 +17,11 @@ export const BMS_CONF = {
|
||||
} as const satisfies INTERNAL_GAME_CONFIG;
|
||||
|
||||
export function FormatSieglindeBMS(sgl: number): string {
|
||||
return `sgl${sgl.toFixed(1)}`;
|
||||
if (sgl < 13) {
|
||||
return `☆${sgl.toFixed(2)}`;
|
||||
}
|
||||
|
||||
return `★${(sgl - 12).toFixed(2)}`;
|
||||
}
|
||||
|
||||
// works for both 7K and 14K.
|
||||
|
||||
@@ -33,7 +33,11 @@ const PMSDans = [
|
||||
];
|
||||
|
||||
function FormatSieglindePMS(sgl: number): string {
|
||||
return `psgl${sgl.toFixed(1)}`;
|
||||
if (sgl < 13) {
|
||||
return `○${sgl.toFixed(2)}`;
|
||||
}
|
||||
|
||||
return `●${(sgl - 12).toFixed(2)}`;
|
||||
}
|
||||
|
||||
export const PMS_CONTROLLER_CONF = {
|
||||
|
||||
@@ -26,7 +26,11 @@ const APPLICATION_ORDER = [
|
||||
];
|
||||
|
||||
function fmtSgl(sgl) {
|
||||
return `sgl${(sgl - 12).toFixed(1)}`;
|
||||
if (sgl < 13) {
|
||||
return `☆${sgl.toFixed(2)}`;
|
||||
}
|
||||
|
||||
return `★${(sgl - 12).toFixed(2)}`;
|
||||
}
|
||||
|
||||
function sl12Fix(x) {
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
export function fmtSgl(sgl: number): string {
|
||||
return `sgl${sgl.toFixed(1)}`;
|
||||
if (sgl < 13) {
|
||||
return `☆${sgl.toFixed(2)}`;
|
||||
}
|
||||
|
||||
return `★${(sgl - 12).toFixed(2)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user