From 2fea164891fc19041fc2b4db550e81d7e5cd07de Mon Sep 17 00:00:00 2001 From: "COMPUTER\\EDY" <249929363@qq.com> Date: Fri, 21 Aug 2026 10:31:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Script/Map.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 91b10bb..3e3610f 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -21,7 +21,7 @@ const { ccclass, property } = cc._decorator; @ccclass export default class MapConroler extends cc.Component { private MAX_RETRY_COUNT = 6; // 最大重试次数 - private readonly reviveCoinCosts: number[] = [500, 700, 900, 1100, 1300, 1500]; + private readonly reviveCoinCosts: number[] = [500, 500, 500, 500, 500, 500]; private _blocksEmptyTime: number | null = null; // 保底机制计时 static _instance: any; @property(cc.SpriteAtlas) @@ -598,7 +598,7 @@ export default class MapConroler extends cc.Component { let data = { "is_frenzy": this.is_frenzy, "infinity": endLevel, - "win_streak": cc.fx.GameConfig.GM_INFO.winStreak, + "win_streak": cc.fx.GameConfig.GM_INFO.winStreak, } if (cc.fx.GameConfig.GM_INFO.winStreak >= 10 && cc.fx.GameConfig.GM_INFO.otherLevel == 0) { cc.fx.GameConfig.GM_INFO.winState = false; @@ -700,7 +700,7 @@ export default class MapConroler extends cc.Component { this.freezeWall = []; this.lockWall = []; this.riseFallBlock = []; - this.vineBlock = []; + this.vineBlock = []; this.mapBlockArray = []; this.freezeArray = []; this.questionArray = []; @@ -758,7 +758,7 @@ export default class MapConroler extends cc.Component { this.mapBlocksWall[i].push(block); } } - this.initVine(risefall); + this.initVine(risefall); setTimeout(() => { this.wallInit(); this.blockInit(); @@ -2261,7 +2261,7 @@ export default class MapConroler extends cc.Component { // 返回值:true表示可以落点,false表示被伸缩杆占用不能落点 // ============================================ judgeStick(point) { - if (!this.judgeVine(point)) return false; + if (!this.judgeVine(point)) return false; if (this.stickWallArray.length == 0) return true; if (this.mapBlocksWall[point.x][point.y]) { if (this.mapBlocksWall[point.x][point.y].getChildByName("stick").active == true) { @@ -3284,7 +3284,7 @@ export default class MapConroler extends cc.Component { // 2. 如果有道具,触发对应的道具效果 // ============================================ special_Treatment(node, type, prop) { - this.shrinkVine(); + this.shrinkVine(); let freezeBlock = this.node.children.filter(child => { if (child.getComponent("Block")) { if (child.getComponent("Block").type == 4) @@ -4229,7 +4229,7 @@ export default class MapConroler extends cc.Component { // } // }); setTimeout(() => { - this.node.parent.parent.parent.getChildByName("Pause").active = false; + this.node.parent.parent.parent.getChildByName("Pause").active = false; if (cc.fx.GameTool.maxLevel() && cc.fx.GameConfig.GM_INFO.GameplayType == 1) { cc.fx.GameConfig.LEVEL_INFO_init(true, 0, false, true); } else {