全局:清理部分console
This commit is contained in:
@@ -111,7 +111,7 @@ export async function refreshEnemies(role: RoleType, score: number, pLv: number)
|
||||
}
|
||||
|
||||
export async function matchPlayerByRank(seasonNum: number, oppPlayers: OppPlayers[], mapWarJson: DicWarJson[], roleId: string, pos: number) {
|
||||
console.log('matchPlayerByRank', JSON.stringify(oppPlayers))
|
||||
// console.log('matchPlayerByRank', JSON.stringify(oppPlayers))
|
||||
let r = new Rank(REDIS_KEY.PVP_RANK, {});
|
||||
let ridRanks = new Array<number>(); // 已经被使用了的排名
|
||||
for(let { roleId: curRoleId } of oppPlayers) {
|
||||
@@ -173,7 +173,7 @@ export async function matchPlayerByRank(seasonNum: number, oppPlayers: OppPlayer
|
||||
}
|
||||
|
||||
async function matchPlayer(seasonNum: number, oppPlayers: OppPlayers[], mapWarJson: DicWarJson[], roleId: string, pLv: number, dicOpp: DicPvpOpponent ) {
|
||||
console.log('matchPlayer', JSON.stringify(oppPlayers))
|
||||
// console.log('matchPlayer', JSON.stringify(oppPlayers))
|
||||
|
||||
let { id: pos, minLv, maxLv } = dicOpp
|
||||
let range = await PvpDefenseModel.findByTeamLv(seasonNum, pLv + minLv, pLv + maxLv);
|
||||
@@ -247,7 +247,7 @@ async function generPlayerOppHis(pvpdefense: PvpDefenseType, mapWarJson: DicWarJ
|
||||
}
|
||||
|
||||
async function matchRobot(oppPlayers: OppPlayers[], mapWarJson: DicWarJson[], role: RoleType, pLv: number, dicOpp: DicPvpOpponent) {
|
||||
console.log('matchRobot', JSON.stringify(oppPlayers))
|
||||
// console.log('matchRobot', JSON.stringify(oppPlayers))
|
||||
|
||||
let { lv: myLv, topLineupCe: myCe, roleId } = role;
|
||||
let { id: pos, minLv, maxLv, ratio } = dicOpp;
|
||||
|
||||
Reference in New Issue
Block a user