🐞 fix(gvg): 获取对方阵容时武将数据不一致
This commit is contained in:
@@ -155,7 +155,7 @@ export class GVGProduceHandler {
|
|||||||
if(!hisVestigeRank) return resResult(STATUS.GVG_VESTIGE_TARGET_NOT_FOUND);
|
if(!hisVestigeRank) return resResult(STATUS.GVG_VESTIGE_TARGET_NOT_FOUND);
|
||||||
|
|
||||||
let hids = hisVestigeRank.lineup?.map(cur => cur.actorId)||[];
|
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;
|
const { leagueCode, name } = myLeague;
|
||||||
result.setPlayer(dicGVGVestige, role, heroes, serverNames, name, leagueCode);
|
result.setPlayer(dicGVGVestige, role, heroes, serverNames, name, leagueCode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user