寻宝:修复参与寻宝条件

This commit is contained in:
luying
2022-05-22 11:55:51 +08:00
parent 18b5092580
commit cec7f278b1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -327,9 +327,9 @@ export function comBtlLvInvalid(playerLv: number, blueprtLvs: number[]) {
const range = gameData.comBtlLvRange.get(blueprtLv);
if (!range) return true;
let { min, max } = range;
if(playerLv < min || playerLv > max) return false;
if(playerLv < min || playerLv > max) return true;
}
return true
return false
}
export async function dismissTeam(teamStatus: MemComBtlTeam, teamMap: Map<string, MemComBtlTeam>, roleId: string, teamDisTimer: Map<string, NodeJS.Timer>) {