寻宝:修复奖励读表错误

This commit is contained in:
luying
2022-07-28 14:33:33 +08:00
parent 934d748f3d
commit dc77aac59b
2 changed files with 65 additions and 66 deletions
+1 -2
View File
@@ -112,14 +112,13 @@ export function loadWar() {
o.winReward = parseTrainReward(o.winReward);
o.failReward = parseTrainReward(o.failReward);
} else if (o.warType == WAR_TYPE.COM_BATTLE) {
console.log('####', o)
let reward = {
captainReward: o.fixReward,
teammateReward: parseGoodStr(o.teammateReward),
captainTimeReward: parseGoodStr(o.time_captain_normalReward),
teammateTimeReward: parseGoodStr(o.time_normalReward),
captainTimeGuildReward: parseComBattleTimeReward(o.time_captain_guildReward),
teammateTimeGuildReward: parseComBattleTimeReward(o.time_captain_guildReward),
teammateTimeGuildReward: parseComBattleTimeReward(o.time_guildReward),
}
dicComBattleReward.set(o.war_id, reward);
}