🐞 fix(远征&巅峰): 获取对手装备上的天晶
This commit is contained in:
@@ -159,7 +159,6 @@ export async function matchPlayers(roleId: string, scale: number, range: number,
|
||||
let { star, lv, ce, skins, colorStar, quality, job, subHid = 0, subActorId = 0, ePlace = [] } = h;
|
||||
let artifact = h.artifact? artifacts.find(cur => cur.seqId == h.artifact): null;
|
||||
let skin = skins?.find(cur => cur.enable);
|
||||
let curJewels = jewels.filter(jewel => jewel.hid == h.hid);
|
||||
|
||||
let dicHero = gameData.hero.get(hero.hid);
|
||||
let attr = attrByHid.get(hero.hid);
|
||||
@@ -182,8 +181,7 @@ export async function matchPlayers(roleId: string, scale: number, range: number,
|
||||
artifact: artifact? [{ artifactId: artifact.artifactId, lv: artifact.lv }]: [],
|
||||
subHid,
|
||||
subActorId,
|
||||
ePlace,
|
||||
jewels: curJewels
|
||||
ePlace: ePlace.map(cur => ({ ...cur, jewel: jewels.find(ccur => cur.jewel == ccur.seqId) })),
|
||||
};
|
||||
|
||||
enemyObj.enemies.push({...json, ...heroInfo});
|
||||
|
||||
Reference in New Issue
Block a user