|
@@ -75,7 +75,7 @@ export class TornadoComponent extends Component {
|
|
|
this.attributeBonusMgr = AttributeBonusMgr.inst;
|
|
|
const userModel = this.attributeBonusMgr.userModel;
|
|
|
|
|
|
- this.currentLv = 3;
|
|
|
+ this.currentLv = 1;
|
|
|
this.currentExp = 0;
|
|
|
this.nextExp = this.attributeBonusMgr.getExpNeed(this.currentLv + 1);
|
|
|
this.attack = this.attributeBonusMgr.getStormSunderAttack(this.currentLv);
|
|
@@ -84,7 +84,7 @@ export class TornadoComponent extends Component {
|
|
|
this.height = userModel.game_tornado_base_height;
|
|
|
this.speed = Math.round((this.speed / 10) * 100) / 100;
|
|
|
|
|
|
- console.log(`玩家的攻击力 :${this.attack}} 速度:${this.speed}`)
|
|
|
+ console.log(`玩家的攻击力 :${this.attack}} 速度:${this.speed}`);
|
|
|
|
|
|
this.playerInfo = {
|
|
|
nickName: this.nickName,
|
|
@@ -281,6 +281,7 @@ export class TornadoComponent extends Component {
|
|
|
this.nextExp = attributeBonusMgr.getExpNeed(this.currentLv + 1);
|
|
|
this.attack = attributeBonusMgr.getStormSunderAttack(this.currentLv);
|
|
|
this.speed = attributeBonusMgr.getStormSunderSpeed(this.currentLv);
|
|
|
+ this.speed = Math.round((this.speed / 10) * 100) / 100;
|
|
|
this.currentExp = 0;
|
|
|
}
|
|
|
|