回退到400e0f81,撤销两次三连胜修改
This commit is contained in:
@@ -444,13 +444,6 @@ export class GameConfig {
|
||||
// 临时老彩虹测试开关(默认关闭):开启后强制 C、立即解锁连胜、始终十连胜。
|
||||
static forceOldRainbowWinStreakC = false;
|
||||
|
||||
// 临时测试:本地始终保持三连胜,不写入真实存档;false 恢复正常规则。
|
||||
static forceThreeWinStreak = false;
|
||||
|
||||
static isStartBoostersUnlocked(): boolean {
|
||||
return this.GM_INFO.level + 1 >= 25 && !(this.GM_INFO.otherLevel > 0);
|
||||
}
|
||||
|
||||
static isRainbowWinStreak(): boolean {
|
||||
if (this.forceOldRainbowWinStreakC) return false;
|
||||
if (this.forceRainbowWinStreakB) return true;
|
||||
@@ -478,8 +471,7 @@ export class GameConfig {
|
||||
}
|
||||
|
||||
static gameplayBlockExtraPaths(blocks: any[]): string[] {
|
||||
return GAMEPLAY_ATLAS_PATHS.concat(this.isRainbowRewardActive() || this.isStartBoostersUnlocked()
|
||||
? rainbowTexturePaths(blocks) : []);
|
||||
return GAMEPLAY_ATLAS_PATHS.concat(this.isRainbowRewardActive() ? rainbowTexturePaths(blocks) : []);
|
||||
}
|
||||
|
||||
static isWinStreakUnlocked(): boolean {
|
||||
@@ -602,7 +594,6 @@ export class GameConfig {
|
||||
getItemType: number; popPassCheck: boolean; // 弹窗通行证
|
||||
passCheckActivate: boolean;
|
||||
winStreak: number; //连胜
|
||||
threeWinStreak: number; //独立三连胜,奖励封顶三档
|
||||
tasks: any; addLevel: number; //每日/周任务数据
|
||||
address: string; //用户城市信息
|
||||
firstTime: number; //用户注册时间
|
||||
@@ -829,7 +820,6 @@ export class GameConfig {
|
||||
popPassCheck: false, // 弹窗通行证
|
||||
passCheckActivate: false,
|
||||
winStreak: (this.forceOldRainbowWinStreakC || this.forceRainbowWinStreakB) ? 10 : 0, //测试模式默认十连胜
|
||||
threeWinStreak: this.forceThreeWinStreak ? 3 : 0,
|
||||
tasks: { levelPass: { value: 0, target: 0, state: 0 }, share: { value: 0, target: 0, state: 0 }, useEnergy: { value: 0, target: 0, state: 0 }, useProp: { value: 0, target: 0, state: 0 } },
|
||||
addLevel: 0, //每日过关数
|
||||
address: "", //用户城市信息
|
||||
|
||||
Reference in New Issue
Block a user