活动:装备bug

This commit is contained in:
luying
2021-05-21 17:46:08 +08:00
parent 253a2fb8a4
commit e91650f11c

View File

@@ -248,6 +248,7 @@ export async function checkTaskConditionEquipSuitJewelStage(hero: HeroType) {
let jewelLevel = -1;//宝石阶数
for (let i = 0; i < hero.ePlace.length; i++) {
let equipObj = <EquipType>hero.ePlace[i].equip;
if(equipObj) {
let equipObjInfo = getGoodById(equipObj.id);
if (equipObj.holes.length == equipObjInfo.hole && equipObjInfo.hole > 0) {
for (let j = 0; j < equipObj.holes.length; j++) {
@@ -269,5 +270,6 @@ export async function checkTaskConditionEquipSuitJewelStage(hero: HeroType) {
break;
}
}
}
return { isTask, jewelLevel };
}