军团活动:诸侯混战初始

This commit is contained in:
luying
2021-03-22 16:51:17 +08:00
parent d733210c3a
commit a56a6cf2f3
12 changed files with 201 additions and 34 deletions

View File

@@ -10,6 +10,8 @@ export interface DicCityActivity {
readonly type: number;
// 下一次自动宣战城池
readonly nextCity: number;
// 上一个可解锁的
readonly preCity: number[];
// 难度系数
readonly difficult: number;
// 相应的出兵表
@@ -24,6 +26,7 @@ let arr = JSON.parse(str);
export const dicCityActivity = new Map<number, DicCityActivity>();
arr.forEach(o => {
o.preCity = parseNumberList(o.preCity);
dicCityActivity.set( o.id, o );
});
arr = undefined;