装备:修改装备限制

This commit is contained in:
luying
2021-07-27 20:19:59 +08:00
parent aeb0913c24
commit df48003b76
4 changed files with 28 additions and 21 deletions

View File

@@ -17,6 +17,10 @@ export interface DicGoods {
readonly name: string;
// 等级限制
readonly lvLimited: number;
// 职业限制
readonly jobLimited: number;
// 武将限制
readonly charLimited: number;
// 合成装备需要的碎片数
readonly pieces: number;
// 对应的碎片id
@@ -97,7 +101,9 @@ const DicGoodsKeys: KeysEnum<DicGoods> = {
condition: true,
timeLimit: true,
image_id: true,
gift: true
gift: true,
jobLimited: true,
charLimited: true
}
export const dicJewel = new Map<number, DicGoods>();
export const dicGoods = new Map<number, DicGoods>();