战力:修改战力公式

This commit is contained in:
luying
2021-09-01 17:12:05 +08:00
parent 159c354ae3
commit 2273ffe1e0
4 changed files with 18 additions and 6 deletions
@@ -154,7 +154,7 @@ export async function matchPlayers(roleId: string, scale: number, range: number,
if(h) {
let { star, lv, attr: heroAttrs, ce } = h;
let dicHero = gameData.hero.get(hero.actorId);
let { attribute } = getPlayerAttribute(heroAttrs, roleAttrs);
let { attribute } = getPlayerAttribute(lv, heroAttrs, roleAttrs);
let heroInfo = {
actorId: hero.actorId,
actorName: dicHero.name,