fix: count normal main-level wins in Coin Madness mock

This commit is contained in:
keke
2026-09-15 18:48:12 +08:00
parent d4dc79f0b9
commit 2fa17cb972
4 changed files with 36 additions and 5 deletions
+3 -1
View File
@@ -397,7 +397,9 @@ var GameTool = {
cc.fx.GameConfig.GM_INFO.level += 1;
}
if (!endLevel && cc.fx.GameConfig.GM_INFO.GameplayType == 1) recordCoinMadnessMockWin(stageId);
// 普通主线为 0;空计时调用来自配置缺关补进度,不属于实际胜利。
if (!isMaxLevel && cc.fx.GameConfig.GM_INFO.GameplayType == 0
&& !cc.fx.GameConfig.GM_INFO.otherLevel && time1 != null && time2 != null) recordCoinMadnessMockWin(stageId);
cc.fx.GameTool.maxLevel()
MiniGameSdk.API.setNewCloudlevel();
const timestamp = Date.now();