寻宝:增加每个武将伤害的统计
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user