feat(gvg): 优化血量继承、实时刷新、遗迹天数、系统播报 6267076fc
This commit is contained in:
@@ -11,6 +11,8 @@ export interface DicGVGVestigeType {
|
||||
readonly mapType: number[];
|
||||
// 位置
|
||||
readonly position: string;
|
||||
// 哪天
|
||||
readonly openday: number[];
|
||||
}
|
||||
|
||||
export const dicGVGVestigeByType = new Map<number, DicGVGVestigeType[]>(); // 地图类型 => 遗迹id
|
||||
@@ -21,6 +23,7 @@ export function loadGVGVestigeType() {
|
||||
let arr = readFileAndParse(FILENAME.DIC_GVG_VESTIGE_TYPE);
|
||||
arr.forEach(o => {
|
||||
o.mapType = parseNumberList(o.mapType);
|
||||
o.openday = parseNumberList(o.openday);
|
||||
for(let type of o.mapType) {
|
||||
if(!dicGVGVestigeByType.has(type)) {
|
||||
dicGVGVestigeByType.set(type, []);
|
||||
|
||||
Reference in New Issue
Block a user