薛鸿潇 пре 5 година
родитељ
комит
51bd534e0e

+ 9 - 9
tower_sanguo/assets/resources/module/generalUpStar/general_up_star.prefab

@@ -3311,7 +3311,7 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 45.23,
+      "width": 79.45,
       "height": 50.4
     },
     "_anchorPoint": {
@@ -3323,7 +3323,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        -42.077,
+        -46,
         -79.004,
         0,
         0,
@@ -3362,8 +3362,8 @@
       }
     ],
     "_useOriginalSize": false,
-    "_string": "100",
-    "_N$string": "100",
+    "_string": "12345",
+    "_N$string": "12345",
     "_fontSize": 30,
     "_lineHeight": 40,
     "_enableWrapText": true,
@@ -3432,7 +3432,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        -100.029,
+        -115,
         -79.004,
         0,
         0,
@@ -3961,7 +3961,7 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 45.23,
+      "width": 79.45,
       "height": 50.4
     },
     "_anchorPoint": {
@@ -3973,7 +3973,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        76.442,
+        80,
         -79.004,
         0,
         0,
@@ -4012,8 +4012,8 @@
       }
     ],
     "_useOriginalSize": false,
-    "_string": "120",
-    "_N$string": "120",
+    "_string": "54321",
+    "_N$string": "54321",
     "_fontSize": 30,
     "_lineHeight": 40,
     "_enableWrapText": true,

+ 1 - 1
tower_sanguo/assets/scripts/module/gm/GmUI.ts

@@ -212,7 +212,7 @@ export default class GmUI extends BaseUI {
         let brr = this.lbl_input.string.split(" ");
         GameController.http.updateKeyValueDemo((data) => {
             GameController.gameData.player.setProp(parseInt(brr[0]), parseInt(brr[1]));
-        }, obj[brr[0]], brr[1]);
+        }, obj[brr[0]], parseInt(brr[1]));
     }
 
     private addGeneral() {