🐞 fix(gvg): 内政帮收改为按玩家收获

This commit is contained in:
luying
2023-02-09 16:55:21 +08:00
parent e1004d4960
commit 83cf8db9fe
4 changed files with 19 additions and 14 deletions

View File

@@ -329,6 +329,7 @@ export class LeagueField {
harvestTime: number; // 收获时间, 10位时间戳
unlockTime: number; // 锁定时间,会按照内政令的数量给玩家预锁定一批填,超过时间限制就不锁给他了也会分给其他人了
index: number = 0; // 位置
output: number = 0; // 产量
constructor(leagueFarm: GVGLeagueFarmType) {
if(!leagueFarm) return;
@@ -338,6 +339,7 @@ export class LeagueField {
this.harvestTime = leagueFarm.harvestTime;
this.unlockTime = leagueFarm.unlockTime;
this.index = leagueFarm.index||0;
this.output = leagueFarm.output;
}
}