军团活动:粮草先行
This commit is contained in:
@@ -187,7 +187,7 @@ export class WoodenHorse {
|
|||||||
case RACE_EVENT.GUISHOUYINFU:
|
case RACE_EVENT.GUISHOUYINFU:
|
||||||
if (this.shieldTime < Date.now()) {
|
if (this.shieldTime < Date.now()) {
|
||||||
this.time = endTime;
|
this.time = endTime;
|
||||||
this.speed = effect[1];
|
this.speed = effect[1]||0.1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case RACE_EVENT.FENGCHE:
|
case RACE_EVENT.FENGCHE:
|
||||||
@@ -290,7 +290,7 @@ export class Event {
|
|||||||
this.startDistance = distance;
|
this.startDistance = distance;
|
||||||
this.endDistance = this.startDistance + dicEvent.continueDistance;
|
this.endDistance = this.startDistance + dicEvent.continueDistance;
|
||||||
}
|
}
|
||||||
if(dicEvent.continueTime) {
|
if(dicEvent.effectTime) {
|
||||||
this.startTime = Date.now() + dicEvent.effectTime * 1000;
|
this.startTime = Date.now() + dicEvent.effectTime * 1000;
|
||||||
this.endTime = this.startTime + dicEvent.continueTime * 1000;
|
this.endTime = this.startTime + dicEvent.continueTime * 1000;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user