jenkins:修复测试不通过bug

This commit is contained in:
luying
2021-11-01 09:49:56 +08:00
parent b49ca6aee7
commit fd3e42d77d
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ async function matchRobot(oppPlayers: OppPlayer[], role: RoleType, score: number
if (!dicHero) continue;
let heroInfo = new PvpHeroInfo();
let { attribute, ce, lv } = getRobotAttribute(actorId, ratio, score);
heroInfo.setRobotInfo(actorId, lv);
heroInfo.setRobotInfo(dicHero, lv);
defCe += ce;
heroInfo.setAttribute(attribute);
let enemy = new PvpEnemies(h, heroInfo, 0, ce);