军团:诸侯混战城门血量
This commit is contained in:
@@ -116,7 +116,7 @@ export class WoodenHorse {
|
||||
*/
|
||||
public calCurWoodenHorse(events: Event[]): boolean {
|
||||
if(this.status == RACE_ACTIVITY_STATUS.END) return false;
|
||||
if(this.status == RACE_ACTIVITY_STATUS.WAITING && this.stopContinueTime && Date.now() > this.stopContinueTime) {
|
||||
if(this.status == RACE_ACTIVITY_STATUS.PAUSE && this.stopContinueTime && Date.now() > this.stopContinueTime) {
|
||||
this.status = RACE_ACTIVITY_STATUS.START; this.stopContinueTime = 0;
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ export class WoodenHorse {
|
||||
case RACE_EVENT.GUISHOUYINFU:
|
||||
if (this.shieldTime < Date.now()) {
|
||||
this.stopContinueTime = endTime;
|
||||
this.status = RACE_ACTIVITY_STATUS.WAITING;
|
||||
this.status = RACE_ACTIVITY_STATUS.PAUSE;
|
||||
this.time = endTime;
|
||||
this.speed = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user