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