mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-21 06:10:04 +08:00
parent
2afdb2a0da
commit
315d847f06
@ -163,8 +163,8 @@ export function getQQVersionConfigPath(exePath: string = ''): string | undefined
|
|||||||
|
|
||||||
export function calcQQLevel(level?: QQLevel) {
|
export function calcQQLevel(level?: QQLevel) {
|
||||||
if (!level) return 0;
|
if (!level) return 0;
|
||||||
const { crownNum, sunNum, moonNum, starNum } = level;
|
const { penguinNum, crownNum, sunNum, moonNum, starNum } = level;
|
||||||
return crownNum * 64 + sunNum * 16 + moonNum * 4 + starNum;
|
return penguinNum * 256 + crownNum * 64 + sunNum * 16 + moonNum * 4 + starNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function stringifyWithBigInt(obj: any) {
|
export function stringifyWithBigInt(obj: any) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user