fix bug
This commit is contained in:
@@ -42,7 +42,7 @@ arr.forEach(o => {
|
||||
o.suitLevel = parseSuitLevel(o.suitLevel);
|
||||
o.movePointArray = parseNumberList(o.movePointArray);
|
||||
|
||||
dicEvent.set(o.quality, o);
|
||||
dicEvent.set(o.eventID, o);
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -17,5 +17,5 @@ let arr = JSON.parse(str);
|
||||
export const dicExpeditionPoint = new Map<number, DicExpeditionPoint>();
|
||||
arr.forEach(o => {
|
||||
o.reward = parseReward(o.reward);
|
||||
dicExpeditionPoint.set(o.id, o);
|
||||
dicExpeditionPoint.set(o.point, o);
|
||||
});
|
||||
@@ -22,7 +22,7 @@ export const dicHeroSkill = new Map<number, DicHeroSkill>();
|
||||
arr.forEach(o => {
|
||||
o.starSeidArr = parseSeid(o.starSeid);
|
||||
o.colorStarSeidArr = parseSeid(o.colorStarSeid);
|
||||
dicHeroSkill.set(o.good_id, o);
|
||||
dicHeroSkill.set(o.skillid, o);
|
||||
});
|
||||
|
||||
function parseSeid(str: string) {
|
||||
|
||||
Reference in New Issue
Block a user