Jelajahi Sumber

技能等级

181404010226 4 bulan lalu
induk
melakukan
184002304e

+ 4 - 4
assets/Scenes/GameLevel.scene

@@ -22253,7 +22253,7 @@
         "__id__": 596
       }
     ],
-    "_active": false,
+    "_active": true,
     "_components": [
       {
         "__id__": 663
@@ -22918,7 +22918,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 36,
-      "height": 6202.2
+      "height": 6382
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -23032,7 +23032,7 @@
       "__id__": 607
     },
     "_mode": 1,
-    "_totalLength": 6152.2,
+    "_totalLength": 6382,
     "_progress": 1,
     "_reverse": false,
     "_id": "2e7HjWZNtPgrYDCDLuPW0v"
@@ -23289,7 +23289,7 @@
         "__id__": 620
       }
     ],
-    "_active": true,
+    "_active": false,
     "_components": [
       {
         "__id__": 623

+ 0 - 1
assets/scripts/FourUI/UpgradeSystem/UpgradeController.ts

@@ -658,7 +658,6 @@ export class UpgradeController extends Component {
         
         // 设置升级按钮状态 - Canvas/UpgradeUI/UpgradePanel/UpgradeBtn
         if (this.panelUpgradeBtn) {
-            // 始终保持按钮可点击,金币不足的检查在点击时进行
             // 这样可以确保用户点击时能看到"金币不足"的提示
             this.panelUpgradeBtn.interactable = true;
             

+ 4 - 4
assets/scripts/LevelSystem/SaveDataManager.ts

@@ -222,8 +222,8 @@ export class SaveDataManager {
             lastPlayTime: Date.now(),
             totalPlayTime: 0,
             
-            money: 20,       // 初始局外金币
-            diamonds: 0,       // 初始钻石
+            money: 0,        // 初始局外金币
+            diamonds: 20,      // 初始钻石
             
             wallLevel: 1,       // 初始墙体等级
             wallBaseHealth: 100, // 初始墙体基础血量
@@ -306,8 +306,8 @@ export class SaveDataManager {
             createTime: Date.now(),
             lastPlayTime: Date.now(),
             totalPlayTime: 0,
-            money: 0,           // 初始局外金
-            diamonds: 0,
+            money: 0,           // 初始局外金
+            diamonds: 20,
             wallLevel: 1,        // 初始墙体等级
             wallBaseHealth: 100, // 初始墙体基础血量
             currentLevel: 1,