diff --git a/assets/resources/game/heros/top.prefab b/assets/resources/game/heros/top.prefab index 0ad93ee6..cf3b05c1 100644 --- a/assets/resources/game/heros/top.prefab +++ b/assets/resources/game/heros/top.prefab @@ -1220,7 +1220,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -49, + "x": -50, "y": 0, "z": 0 }, @@ -1261,8 +1261,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 98, - "height": 9 + "width": 100, + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1386,8 +1386,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 98, - "height": 9 + "width": 100, + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1461,7 +1461,7 @@ "__id__": 53 }, "_mode": 0, - "_totalLength": 97, + "_totalLength": 100, "_progress": 1, "_reverse": false, "_id": "" @@ -1509,7 +1509,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -49, + "x": -50, "y": 0, "z": 0 }, @@ -1550,8 +1550,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 98, - "height": 9 + "width": 100, + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1626,10 +1626,10 @@ }, "_alignFlags": 45, "_target": null, - "_left": 1, - "_right": 1, - "_top": 0.5, - "_bottom": 0.5, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -2385,7 +2385,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -49, + "x": -50, "y": 0, "z": 0 }, @@ -2426,8 +2426,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 98, - "height": 9 + "width": 100, + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", diff --git a/assets/script/game/map/MissionMonComp.ts b/assets/script/game/map/MissionMonComp.ts index 390c89ad..afb93a84 100644 --- a/assets/script/game/map/MissionMonComp.ts +++ b/assets/script/game/map/MissionMonComp.ts @@ -56,6 +56,9 @@ export class MissionMonCompComp extends CCComp { smc.vmdata.mission_data.mon_num=0 // 重置生成顺序计数器 this.globalSpawnOrder = 0 + this.gameTime = 0 + this.spawnLogicTimer = 0 + this.MonQueue = [] this.do_mon_wave() }