feat(gvg): 复活队伍

This commit is contained in:
luying
2023-02-17 16:45:24 +08:00
parent 40cffb7cc3
commit 8595c8d4ae
9 changed files with 114 additions and 33 deletions

View File

@@ -42,6 +42,7 @@ class LeaguePlayerData {
// 奖励相关
receivedLv: number = 0; // 奖励领到几级
tasks: GVGTask[] = []; // 如果没有达成的任务就不放在这个数组里面
reviveCnt: number = 0; // 使用元宝复活的次数
}
class LeagueResource {
@@ -129,6 +130,7 @@ export class GVGMainData {
if(userData) {
this.myInfo.job = userData?.job||0;
this.myInfo.receivedLv = userData?.receivedLv||0;
this.myInfo.reviveCnt = userData?.reviveCnt||0;
}
this.myInfo.tasks = tasks;
}