调整十连胜彩虹功能参数

This commit is contained in:
WIN-GKKD951VVMJ\Administrator
2026-09-15 18:55:37 +08:00
parent ba0fdcb74c
commit 59bf39cd4e
6 changed files with 44 additions and 4 deletions
+7
View File
@@ -1986,6 +1986,13 @@ var GameTool = {
},
setWinStreak(type) {
if (cc.fx.GameConfig.forceRainbowWinStreakB) {
cc.fx.GameConfig.GM_INFO.winStreak = 10;
cc.fx.GameConfig.GM_INFO.winState = true;
cc.fx.StorageMessage.setStorage("winStreak", 10);
cc.fx.StorageMessage.setStorage("winState", true);
return;
}
if (type == "sucess") {
if (cc.fx.GameConfig.GM_INFO.winStreak <= 10) {
cc.fx.GameConfig.GM_INFO.winStreak += 1;