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