feat: send Anarchy (Open) Power

dumb-splashcat-thing
spacemeowx2 2023-06-12 16:54:13 +08:00 committed by imspace
parent 6d044a15ae
commit 40cfd13e6c
5 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 0.4.4
feat: send Anarchy (Open) Power
## 0.4.3
feat: add `list-method` option

View File

@ -8,7 +8,7 @@
},
"package": {
"productName": "s3si-ts",
"version": "0.4.3"
"version": "0.4.4"
},
"tauri": {
"allowlist": {
@ -93,4 +93,4 @@
}
]
}
}
}

View File

@ -1,7 +1,7 @@
import type { StatInkPostBody, VsHistoryDetail } from "./types.ts";
export const AGENT_NAME = "s3si.ts";
export const S3SI_VERSION = "0.4.3";
export const S3SI_VERSION = "0.4.4";
export const NSOAPP_VERSION = "2.5.1";
export const WEB_VIEW_VERSION = "4.0.0-d5178440";
export enum Queries {

View File

@ -587,6 +587,8 @@ export class StatInkExporter implements GameExporter {
}
}
result.bankara_power_after = vsDetail.bankaraMatch?.bankaraPower?.power;
if (rankBeforeState && rankState) {
result.rank_before_exp = rankBeforeState.rankPoint;
result.rank_after_exp = rankState.rankPoint;

View File

@ -236,6 +236,9 @@ export type VsHistoryDetail = {
bankaraMatch: {
earnedUdemaePoint: null | number;
mode: "OPEN" | "CHALLENGE";
bankaraPower?: null | {
power?: null | number;
};
} | null;
festMatch: {
dragonMatchType: "NORMAL" | "DECUPLE" | "DRAGON" | "DOUBLE_DRAGON";
@ -819,6 +822,8 @@ export type StatInkPostBody = {
challenge_lose?: number;
x_power_before?: number | null;
x_power_after?: number | null;
bankara_power_before?: number | null;
bankara_power_after?: number | null;
fest_power?: number; // Splatfest Power (Pro)
fest_dragon?:
| "10x"