Browse Source

修改对话bug

chelios 3 năm trước cách đây
mục cha
commit
1268448500

+ 1 - 0
assets/Script/game/fight/evnet/FDialogNoneNPC.ts

@@ -83,6 +83,7 @@ export default class FDialogNoneNPC extends BaseEvent {
         if (this.icon) {
             this.icon.active = false;
         }
+        this.pause()
         this.dialog1();
     }
 

+ 2 - 0
assets/Script/game/gamePlot/plot_1_2/DialogEnd1_1_5.ts

@@ -54,6 +54,7 @@ export default class DialogEnd1_1_5 extends BaseEvent {
     }
 
     private dialog(){
+        this.pause()
         let text = [
             '我们又见面了。',
         ]
@@ -77,6 +78,7 @@ export default class DialogEnd1_1_5 extends BaseEvent {
             '到古阿拉图国遗迹的中心来,我在那里等你'
         ]
         this.showDialog(this.node,text,()=>{
+            this.resume()
             this.node.destroy()
         })
     }

+ 6 - 6
assets/resources/prefab/map/map2.prefab

@@ -2596,13 +2596,13 @@
     "body": null,
     "_offset": {
       "__type__": "cc.Vec2",
-      "x": 6,
-      "y": 56
+      "x": 8,
+      "y": -2
     },
     "_size": {
       "__type__": "cc.Size",
-      "width": 143,
-      "height": 145
+      "width": 126,
+      "height": 53
     },
     "_id": ""
   },
@@ -49016,8 +49016,8 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        1901.664,
-        764.295,
+        956.518,
+        5933.96,
         0,
         0,
         0,