fix: 战力缩放

This commit is contained in:
luying
2021-02-05 14:30:56 +08:00
parent 474eee3501
commit 3b094f563b
11 changed files with 27 additions and 73 deletions

View File

@@ -244,7 +244,7 @@ export class PvpHandler {
let curOpp = oppPlayers.find(cur => cur.roleId == oppRoleId && cur.pos == pos);
if(!curOpp) return resResult(STATUS.PVP_ROLE_NOT_FOUND);
const role = await RoleModel.findByRoleId(roleId);
const role = await RoleModel.findByRoleId(roleId, null, true);
if(isSuccess) {
winStreakNum ++;
} else {