练兵场结算

This commit is contained in:
mamengke01
2021-01-26 10:41:11 +08:00
parent d4d4ba825b
commit 3c3e734019
24 changed files with 6690 additions and 1765 deletions

View File

@@ -80,8 +80,7 @@ export interface DicTrainBase {
readonly difficultyRatio: number;
// 据点奖励增长系数
readonly judianRewardRatio: number;
// 进阶奖励
readonly jinjieReward: RewardInter[];
}
const DicTrainKeys: KeysEnum<DicTrainBase> = {
@@ -90,7 +89,6 @@ const DicTrainKeys: KeysEnum<DicTrainBase> = {
trainLevel: true,
difficultyRatio: true,
judianRewardRatio: true,
jinjieReward: true
};
// 捐献所
@@ -200,7 +198,6 @@ const strTrain = readJsonFile(FILENAME.DIC_GUILD_TRAIN_BASE);
let arrTrain = JSON.parse(strTrain);
arrTrain.forEach(o => {
setStructureConsume(o);
o.jinjieReward = parseGoodStr(o.jinjieReward);
dicTrainBase.set(o.level, _.pick(o, Object.keys(DicTrainKeys)));
});
arrTrain = undefined;