Compare commits

...

2 Commits

Author SHA1 Message Date
dy
6be02bee61 Merge branch 'bugfix' into release 2023-12-29 19:42:58 +08:00
dy
8f3cb3e091 fix 开服竞赛排行榜 2023-12-29 19:42:35 +08:00

View File

@ -5,14 +5,14 @@ import kfjsFun from "../kaifujingsai";
export class RankKfjs_1 extends Rank {
ctype: string = "1";
ctype: string;
get ortype() {
return `kfjs${kfjsFun.getStatus().type}`
}
getType(): rankType {
return <rankType>`kfjs${this.ctype}`;
return <rankType>`kfjs1`;
}
async setDataAndCheck(info: rankInfo) {
@ -24,29 +24,41 @@ export class RankKfjs_1 extends Rank {
}
export class RankKfjs_2 extends RankKfjs_1 {
ctype: string = "2"
getType(): rankType {
return <rankType>`kfjs2`;
}
}
export class RankKfjs_3 extends RankKfjs_1 {
ctype: string = "3"
getType(): rankType {
return <rankType>`kfjs3`;
}
}
export class RankKfjs_4 extends RankKfjs_1 {
ctype: string = "4"
getType(): rankType {
return <rankType>`kfjs4`;
}
}
export class RankKfjs_5 extends RankKfjs_1 {
ctype: string = "5"
getType(): rankType {
return <rankType>`kfjs5`;
}
}
export class RankKfjs_6 extends RankKfjs_1 {
ctype: string = "6"
getType(): rankType {
return <rankType>`kfjs6`;
}
}
export class RankKfjs_7 extends RankKfjs_1 {
ctype: string = "7"
getType(): rankType {
return <rankType>`kfjs7`;
}
}