updated math
This commit is contained in:
parent
72150b070d
commit
5f9bf142b2
|
|
@ -311,6 +311,6 @@ export const game = {
|
||||||
const { finished, stage } = serverGame;
|
const { finished, stage } = serverGame;
|
||||||
if (finished == 0) return 0;
|
if (finished == 0) return 0;
|
||||||
if (stage < 2) return 0;
|
if (stage < 2) return 0;
|
||||||
return Math.floor(Math.pow(2, stage * 0.9 + stage * 1.2));
|
return Math.floor(Math.pow(2, stage * 0.92 + stage * 1.2));
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,12 @@ import {
|
||||||
keepPreviousData,
|
keepPreviousData,
|
||||||
useInfiniteQuery,
|
useInfiniteQuery,
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationResult,
|
type UseMutationResult,
|
||||||
useQuery,
|
useQuery,
|
||||||
useQueryClient,
|
useQueryClient,
|
||||||
UseQueryResult,
|
type UseQueryResult,
|
||||||
} from "@tanstack/react-query";
|
} from "@tanstack/react-query";
|
||||||
import { Routes } from "../backend/router";
|
import type { Routes } from "../backend/router";
|
||||||
import { wsClient } from "./wsClient";
|
import { wsClient } from "./wsClient";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { Theme } from "./Theme";
|
import type { Theme } from "./Theme";
|
||||||
|
|
||||||
export const romanceTheme: Theme = {
|
export const romanceTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,11 @@ declare module "*&inline" {
|
||||||
export default outputs;
|
export default outputs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare module "*.png" {
|
||||||
|
const outputs: string;
|
||||||
|
export default outputs;
|
||||||
|
}
|
||||||
|
|
||||||
declare module "*?as=metadata" {
|
declare module "*?as=metadata" {
|
||||||
const outputs: OutputMetadata[];
|
const outputs: OutputMetadata[];
|
||||||
export default outputs;
|
export default outputs;
|
||||||
|
|
|
||||||
|
|
@ -24,5 +24,5 @@
|
||||||
"noUnusedParameters": false,
|
"noUnusedParameters": false,
|
||||||
"noPropertyAccessFromIndexSignature": false
|
"noPropertyAccessFromIndexSignature": false
|
||||||
},
|
},
|
||||||
"include": ["vite.config.ts", "backend/**/*.ts"]
|
"include": ["vite.config.ts", "backend/**/*.ts", "src", "backend"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue