属性:皮肤战力修复

This commit is contained in:
luying
2022-05-13 11:21:03 +08:00
parent 72e166b0a4
commit 10568f8a1b
5 changed files with 168 additions and 392 deletions

View File

@@ -10,8 +10,6 @@ export interface DicFashions {
readonly name: string;
// 全局加成
readonly globalAttr: Array<{id: number, number: number}>;
// 单体加成
readonly actorAttr: Array<{id: number, number: number}>;
// 即武将表里的heroId
readonly heroId: number;
// 原武将id300以内的武将id
@@ -19,7 +17,7 @@ export interface DicFashions {
}
type KeysEnum<T> = { [P in keyof Required<T>]: true };
const DicFashionsKeys: KeysEnum<DicFashions> = { id: true, name: true, globalAttr: true, actorAttr: true, heroId: true, actorId: true};
const DicFashionsKeys: KeysEnum<DicFashions> = { id: true, name: true, globalAttr: true, heroId: true, actorId: true};
export const dicFashions = new Map<number, DicFashions>();
export const dicFashionsByHeroId = new Map<number, DicFashions>();