pvp结算展示

This commit is contained in:
mamengke01
2021-01-14 14:47:42 +08:00
parent ab20a62531
commit 2fad019a2e
5 changed files with 127 additions and 27 deletions
+2 -4
View File
@@ -1,6 +1,4 @@
/**
* 体力系统
*/
import { PvpDefenseModel, Heroes, OppPlayers, Robot, PvpDefenseType, HeroScores, pvpUpdateInter } from '../db/PvpDefense';
import { RoleType, RoleModel } from '../db/Role';
import { PVP_HERO_POS, ROBOT_NAME, REDIS_KEY, PVP_CONST } from '../consts';
@@ -397,6 +395,7 @@ export async function findPvpDefAllByRoleId(roleId: string) {
pvpDefense.refOppCnt = refOppCnt;
pvpDefense.refOppTime = refOppTime;
}
return {pvpDefense, warId, shouldRefOpp};
}
@@ -564,4 +563,3 @@ export async function generPVPOppRecInfo(isSuccess: boolean, curOpp: OppPlayers,
score: 0
}
}