军团活动:诸侯混战初始
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user