战场:扫荡奖励

This commit is contained in:
luying
2021-11-12 16:57:07 +08:00
parent c62cd91a10
commit bcdfe1ac15
4 changed files with 30 additions and 8 deletions

View File

@@ -318,7 +318,7 @@ export class NormalBattleHandler {
// 发奖励
let warReward = new WarReward(roleId, roleName, sid, battleId, true);
let result = await warReward.saveReward(count);
let result = await warReward.saveReward(count, true);
let actordata = await roleLevelup(KING_EXP_RATIO_TYPE.BATTLE, roleId, warInfo.kingExp * count, session)// 主公升级经验
@@ -339,7 +339,7 @@ export class NormalBattleHandler {
return resResult(STATUS.SUCCESS, {
battleId, count,
battleGoods: result,
battleGoods: result,
dailyNum, dungeonNum,
...actordata
});