fix 合成装备bug
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user