pvp结算展示
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user