调整十连胜彩虹功能参数
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user