woso_javan il y a 2 mois
Parent
commit
3245daafd6

+ 2 - 2
assets/module_storm_sunder/Prefabs/Props/car1.prefab

@@ -90,7 +90,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0.17,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -361,7 +361,7 @@
     "_center": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0.6,
+      "y": 0.4,
       "z": 0.1
     },
     "_size": {

+ 2 - 2
assets/module_storm_sunder/Prefabs/Props/car2.prefab

@@ -90,7 +90,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0.17,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -361,7 +361,7 @@
     "_center": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0.6,
+      "y": 0.4,
       "z": -0.1
     },
     "_size": {

+ 3 - 2
assets/module_storm_sunder/Script/Component/TornadoComponent.ts

@@ -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;
     }