战力bug,爵位

This commit is contained in:
mamengke01
2020-12-30 20:51:50 +08:00
parent 69c75da6fc
commit 98beb023a8
4 changed files with 6 additions and 5 deletions
@@ -92,8 +92,8 @@ export class RoleHandler {
if (!result)
return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
await RoleModel.updateRoleInfo(roleId, { title });
await calAllHeroCe( sid, roleId, 2, [title]);
return resResult(STATUS.SUCCESS, { roleId, title });
let {ce} = await calAllHeroCe( sid, roleId, 2, [title]);
return resResult(STATUS.SUCCESS, { roleId, title, ce});
}
//神像强化