🐞 fix(副将): 遗迹usedHeroes添加上副将
This commit is contained in:
@@ -150,7 +150,10 @@ export async function getVestigeUsedHeroes(roleId: string, curVestigeId: number)
|
||||
let result: number[] = [];
|
||||
for(let { vestigeId, lineup = [] } of myDatas) {
|
||||
if(vestigeId == curVestigeId) continue;
|
||||
result.push(...lineup.map(cur => cur.actorId));
|
||||
for(let { actorId, subHid } of lineup) {
|
||||
result.push(actorId);
|
||||
if(subHid) result.push(subHid);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user