装备:强化
This commit is contained in:
@@ -6,7 +6,7 @@ import { RewardInter } from '../interface';
|
||||
export interface DicEquipStrength {
|
||||
// id
|
||||
readonly id: number;
|
||||
// 等级
|
||||
// 等级,1级升2级,读2级数据
|
||||
readonly lv: number;
|
||||
// 消耗
|
||||
readonly consume: RewardInter[];
|
||||
@@ -16,7 +16,7 @@ export interface DicEquipStrength {
|
||||
export const dicEquipStrength = new Map<number, DicEquipStrength>();
|
||||
export function loadEquipStrength() {
|
||||
dicEquipStrength.clear();
|
||||
let arr = readFileAndParse(FILENAME.DIC_EQUIP);
|
||||
let arr = readFileAndParse(FILENAME.DIC_EQUIP_STRENGTH);
|
||||
|
||||
arr.forEach(o => {
|
||||
o.consume = parseGoodStr(o.consume);
|
||||
|
||||
Reference in New Issue
Block a user