Compare commits

..

No commits in common. "6874b42304d2077390eab9fcab23485b23a967f9" and "66421e45238a9e152caf9e4701442c8abae522c0" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -15337,8 +15337,8 @@
0, 0,
0, 0,
1, 1,
0.01, 2,
0.01, 2,
2 2
] ]
}, },
@ -29379,7 +29379,6 @@
"__id__": 323 "__id__": 323
}, },
"_enabled": true, "_enabled": true,
"btn_Touch": false,
"_id": "81dQXmYrVK3771lwjUo7gt" "_id": "81dQXmYrVK3771lwjUo7gt"
}, },
{ {

View File

@ -1554,7 +1554,6 @@ export default class MapConroler extends cc.Component {
if (this.blockNum == 0 && !this.gameWin && !this.gameOver) { if (this.blockNum == 0 && !this.gameWin && !this.gameOver) {
// alert("游戏成功"); // alert("游戏成功");
// MiniGameSdk.API.showToast(cc.fx.GameConfig.GM_INFO.level); // MiniGameSdk.API.showToast(cc.fx.GameConfig.GM_INFO.level);
this.setOtherLevel();
this.gameWin = true; this.gameWin = true;
if (cc.fx.GameConfig.GM_INFO.hp < cc.fx.GameConfig.GM_INFO.hp_Max) { if (cc.fx.GameConfig.GM_INFO.hp < cc.fx.GameConfig.GM_INFO.hp_Max) {
console.log("恢复一点体力", cc.fx.GameConfig.GM_INFO.level); console.log("恢复一点体力", cc.fx.GameConfig.GM_INFO.level);
@ -3163,12 +3162,6 @@ export default class MapConroler extends cc.Component {
.start(); .start();
} }
setOtherLevel() {
if (cc.fx.GameConfig.GM_INFO.otherLevel == 1) {
cc.fx.GameConfig.GM_INFO.level = 2;
}
}
update(dt) { update(dt) {