🐞 fix(gvg): 获取对方阵容时武将数据不一致

This commit is contained in:
liangtongchuan
2023-02-24 16:01:56 +08:00
parent 7e2a6ad3b8
commit 765e997195

View File

@@ -155,7 +155,7 @@ export class GVGProduceHandler {
if(!hisVestigeRank) return resResult(STATUS.GVG_VESTIGE_TARGET_NOT_FOUND);
let hids = hisVestigeRank.lineup?.map(cur => cur.actorId)||[];
let heroes = await HeroModel.findByHidRange(hids, roleId, 'hid skinId quality star colorStar lv ce');
let heroes = await HeroModel.findByHidRange(hids, targetRoleId, 'hid skinId quality star colorStar lv ce');
const { leagueCode, name } = myLeague;
result.setPlayer(dicGVGVestige, role, heroes, serverNames, name, leagueCode);
}