战力:修复战力
This commit is contained in:
@@ -63,7 +63,7 @@ function parseCeAttr(maxStage: number, str: string) {
|
||||
if (!str) return result;
|
||||
let decodeArr = decodeArrayListStr(str);
|
||||
for (let i = 1; i <= maxStage; i++) {
|
||||
let [id, attr] = decodeArr[i]||[i.toString(), "0"];
|
||||
let [id, attr] = decodeArr[i - 1]||[i.toString(), "0"];
|
||||
if (isNaN(parseInt(id)) || isNaN(parseInt(attr))) {
|
||||
throw new Error('data table format wrong');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user