军团活动:粮草先行的结算时机

This commit is contained in:
luying
2021-09-27 18:02:25 +08:00
parent 4267209009
commit d5d03f1871
3 changed files with 3 additions and 9 deletions

View File

@@ -119,16 +119,10 @@ export class WoodenHorse {
if(this.durability <= 0) {
this.status = RACE_ACTIVITY_STATUS.END;
this.speed = 0;
return true
}
return false;
}
public isOver() {
if(this.status == RACE_ACTIVITY_STATUS.END) return true;
return false
}
private calEvent(id: number, count: number = 1, endTime?: number) {
let { effect } = gameData.raceActivityEvents.get(id);