寻宝:奖励

This commit is contained in:
luying
2022-07-27 19:58:16 +08:00
parent 1cb41f2733
commit e1dc6307d2
11 changed files with 285 additions and 193 deletions
+1 -1
View File
@@ -560,7 +560,7 @@ export function getRandRobot(cnt = 1, withAttr = false) {
let setInfo = getRandExpedition(cnt);
if (!setInfo || setInfo.length !== cnt) return null;
let robots = [];
let robots: ComRoleStatusHero[][] = [];
for (let info of setInfo) {
if (!info || !info.warId) continue;
const warInfo = gameData.warJson.get(info.warId);