镇念塔:一键跳关

This commit is contained in:
luying
2022-03-10 17:02:46 +08:00
parent 053e603301
commit 3d0f6ef5b3
11 changed files with 6160 additions and 3035 deletions
+5
View File
@@ -39,6 +39,8 @@ export interface DicWar {
readonly teammateReward: Array<{id: number, count: number}>;
// 镇念塔禁用角色
readonly fobiddenCharactor: Array<{type: number, id: number}>;
// 推荐战力
readonly recommendedPower: number;
// 远征随机buff
readonly mapseid: number[];
// 秘境类型
@@ -51,6 +53,8 @@ export interface DicWar {
readonly winReward: Map<number, number|RewardInter[]>;
// 练兵场失败奖励
readonly failReward: Map<number, number|RewardInter[]>;
// 上场数量
readonly minHeroNum: number;
}
export const dicWar = new Map<number, DicWar>();
@@ -98,6 +102,7 @@ export function loadWar() {
}
dicWar.set(o.war_id, o);
if(!!o.heroId) dicHeroIdByWar.set(o.war_id, o.heroId);
if(o.HeroNum) o.minHeroNum = parseInt(o.HeroNum.split('&')[0]);
});
}
}