寻宝:增加每个武将伤害的统计

This commit is contained in:
luying
2022-05-27 18:38:08 +08:00
parent 3737c888fd
commit 393e93224e
5 changed files with 28 additions and 8 deletions
+3 -3
View File
@@ -570,14 +570,14 @@ export function getRandRobot(cnt = 1, withAttr = false) {
for (let hero of warInfo) {
if (hero && hero.relation === 2 && hero.actorId) {
let dicHero = gameData.hero.get(hero.actorId);
heroes.push({
id: hero.actorId,
heroes.push(new ComRoleStatusHero({
hid: hero.actorId,
skinId: hero.actorId,
star: hero.star||dicHero.initialStars,
colorStar: 0,
lv: hero.lv,
quality: dicHero.quality
});
}));
}
}
robots.push(heroes);