装备:强化

This commit is contained in:
luying
2022-02-15 18:01:37 +08:00
parent 465cc15e43
commit f25d44e391
18 changed files with 12919 additions and 187 deletions

View File

@@ -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);