This commit is contained in:
mamengke01
2020-12-22 17:25:55 +08:00
parent eec53b688f
commit 9a377e94d8
18 changed files with 218 additions and 115 deletions
@@ -1,5 +1,5 @@
// 远征点数奖励表
import { parseReward, readJsonFile } from '../util';
import { parseGoodStr, readJsonFile } from '../util';
import { FILENAME } from '../../consts';
import { RewardInter } from '../interface';
@@ -16,6 +16,6 @@ let arr = JSON.parse(str);
export const dicExpeditionPoint = new Map<number, DicExpeditionPoint>();
arr.forEach(o => {
o.reward = parseReward(o.reward);
o.reward = parseGoodStr(o.reward);
dicExpeditionPoint.set(o.point, o);
});