diff --git a/game-server/app/services/playerCeService.ts b/game-server/app/services/playerCeService.ts index 24a17a52c..a2a2c02fa 100644 --- a/game-server/app/services/playerCeService.ts +++ b/game-server/app/services/playerCeService.ts @@ -524,7 +524,7 @@ export async function getHeroesAttributes(roleId: string) { let cal = new AttributeCal(); let heroAttr = heroAttrs.find(cur => cur.hid == hid); if(heroAttr) cal.setLv(heroAttr.lv); - cal.setByWarJson(hid, attrs); + cal.setByCeArr(attrs); attrByHid.set(hid, cal); } return attrByHid;