|
@@ -58,7 +58,7 @@ export class TornadoAIComponent extends TornadoComponent {
|
|
|
let text = PlayerMgr.inst.generateUniqueName(20);
|
|
|
this.playerInfo.nickName = text;
|
|
|
this.nickName = text;
|
|
|
- this.currentLv = 1;
|
|
|
+ this.currentLv = 11;
|
|
|
this.playerInfo.level = this.currentLv;
|
|
|
|
|
|
this.moveDuration = Math.floor(Math.random() * (move_time[1] - move_time[0] + 1)) + move_time[0];
|
|
@@ -312,6 +312,7 @@ export class TornadoAIComponent extends TornadoComponent {
|
|
|
this.cancelAction();
|
|
|
EventDispatcher.instance.off(GameEvent.EVENT_GAME_START, this.decideAction, this);
|
|
|
EventDispatcher.instance.off(GameEvent.EVENT_GAME_START_EFFECT, this.decideAction, this);
|
|
|
+ EventDispatcher.instance.off(GameEvent.EVENT_STORM_RESURRECT, this.stormResurrect, this);
|
|
|
}
|
|
|
|
|
|
}
|