装备查询

This commit is contained in:
mamengke01
2020-12-18 18:06:23 +08:00
parent 2a3cb06927
commit f568dd613e
4 changed files with 39 additions and 9 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ export function calHeroJobStageUpIncAttr(hero: HeroType, args: Array<number>, ad
let currentJob = gameData.job.get(hero.job);
addSeidList.concat(deepCopy(currentJob.seid));
for (let seid of lastJob.seid) {
let index = _.indexOf(currentJob.seid, seid);
let index = _.findIndex(currentJob.seid, seid);
if (index > 0) {
addSeidList.splice(index, 1);
} else {