任务:提取创建武将方法
This commit is contained in:
@@ -61,7 +61,7 @@ export async function reCalAllHeroCe(type: number, roleId: string, update: RoleU
|
||||
let heros = await HeroModel.findByRole(roleId);
|
||||
|
||||
let roleAttrs = await reCalRoleAttr(type, heros, role, update, args);
|
||||
if(!roleAttrs) return {pushHeros: [], ce: role.ce, topLineupCe: role.topLineupCe}; // 无加成
|
||||
if(!roleAttrs) return {role, pushHeros: [], ce: role.ce, topLineupCe: role.topLineupCe, serverId: role.serverId}; // 无加成
|
||||
|
||||
let pushHeros = new Array<{ hid: number, ce: number, incHeroCe: number }>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user