战力:全局加成武将战力返回错误
This commit is contained in:
@@ -77,7 +77,7 @@ export async function reCalAllHeroCe(type: number, roleId: string, update: RoleU
|
||||
let incHeroCe = heroCe - hero.ce;
|
||||
allIncCe += incHeroCe;
|
||||
roleCe += heroCe;
|
||||
pushHeros.push({ hid: hero.hid, ce: reduceCe(hero.ce + heroCe), incHeroCe: reduceCe(incHeroCe) });
|
||||
pushHeros.push({ hid: hero.hid, ce: reduceCe(heroCe), incHeroCe: reduceCe(incHeroCe) });
|
||||
await HeroModel.updateHeroInfo(roleId, hero.hid, { ce: heroCe });
|
||||
await PvpDefenseModel.updateCe(roleId, hero.hid, incHeroCe); // 更新pvp防守阵战力
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user