名将擂台:修复任务相关
This commit is contained in:
@@ -423,7 +423,7 @@ export class HeroHandler {
|
||||
if (heroes.length < dicFriendShip.hids.length) return resResult(STATUS.ROLE_HERO_NOT_EXISTS);
|
||||
let hero = heroes.find(cur => cur.hid == hid);
|
||||
if(!hero) return resResult(STATUS.ROLE_HERO_NOT_EXISTS);
|
||||
let { connections } = hero;
|
||||
let { connections = []} = hero;
|
||||
let curConnect = connections.find(cur => cur.shipId == shipId);
|
||||
let { level: oldLv = 0, exp: oldExp = 0 } = curConnect||{};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user