活动:数据错误报错

This commit is contained in:
qiaoxin
2021-05-13 17:59:18 +08:00
parent 6907b6ca29
commit b7783a48a5
+2
View File
@@ -253,6 +253,7 @@ export async function checkTaskConditionEquipSuitJewelStage(hero: HeroType) {
for (let j = 0; j < equipObj.holes.length; j++) { for (let j = 0; j < equipObj.holes.length; j++) {
let jewel = equipObj.holes[j].jewel; let jewel = equipObj.holes[j].jewel;
let jewelInfo = getGoodById(jewel); let jewelInfo = getGoodById(jewel);
if (jewelInfo) {
if (jewelLevel == -1) { if (jewelLevel == -1) {
jewelLevel = jewelInfo.lvLimited; jewelLevel = jewelInfo.lvLimited;
} else if (jewelInfo.lvLimited != jewelLevel) { } else if (jewelInfo.lvLimited != jewelLevel) {
@@ -261,6 +262,7 @@ export async function checkTaskConditionEquipSuitJewelStage(hero: HeroType) {
break; break;
} }
} }
}
} else { } else {
//宝石没有镶满 //宝石没有镶满
isTask = false; isTask = false;