后台:修复重新计算战力
This commit is contained in:
@@ -321,7 +321,7 @@ export async function calculateCes(type: HERO_SYSTEM_TYPE, roleId: string, serve
|
|||||||
|
|
||||||
for(let { schoolId, hid, } of schools) {
|
for(let { schoolId, hid, } of schools) {
|
||||||
let curHero = heroes.find(cur => cur.hid == hid);
|
let curHero = heroes.find(cur => cur.hid == hid);
|
||||||
calCe.setSchool(true, hid, schoolId, curHero.star, curHero.colorStar, curHero.quality);
|
if(curHero) calCe.setSchool(true, hid, schoolId, curHero.star, curHero.colorStar, curHero.quality);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(let { id } of skins) {
|
for(let { id } of skins) {
|
||||||
|
|||||||
Reference in New Issue
Block a user