fix 合成装备bug

This commit is contained in:
luying
2020-12-21 11:45:16 +08:00
parent e05577bae8
commit dc527cae2e
11 changed files with 759 additions and 713 deletions

View File

@@ -168,7 +168,7 @@ function parseSpecialMaterial(str: string) {
let decodeArr = decodeArrayStr(str);
if(decodeArr.length >= 2) {
let ids = parseNumberList(decodeArr[0]);
let count = parseInt(decodeArr[0]);
let count = parseInt(decodeArr[1]);
if(isNaN(count)) return specialAttr;
specialAttr.ids = ids;
specialAttr.count = count;

View File

@@ -26,7 +26,7 @@ export const dicRefine = new Map<number, DicRefine>();
arr.forEach(o => {
o.material = parseReward(o.material)
dicRefine.set(o.id, o);
dicRefine.set(o.level, o);
});
arr = undefined;