镇念塔:修复加速次数
This commit is contained in:
@@ -111,10 +111,9 @@ export class TowerBattleHandler {
|
||||
}
|
||||
const spdUpRec = await HangUpSpdUpRecModel.updateRec(roleId, roleName, msg.speedUpCnt, endLv, needReceiveGoods);
|
||||
const goods = await addItems(roleId, roleName, sid, timeReward);
|
||||
let num = getManyHangSpdUpCostGold(spdUpResult.hangUpSpdUpCnt, 1);
|
||||
let nextCostGold = getHangSpdUpCostGold(num);
|
||||
let nextCostGold = getManyHangSpdUpCostGold(spdUpResult.hangUpSpdUpCnt, 1);
|
||||
|
||||
return resResult(STATUS.SUCCESS, { goods, hangUpSpdUpCnt, nextCostGold, hangUpPassTime: Math.floor(deltaTime/1000), rewardLv: endLv, costGold });
|
||||
return resResult(STATUS.SUCCESS, { goods, hangUpSpdUpCnt: spdUpResult.hangUpSpdUpCnt, nextCostGold, hangUpPassTime: Math.floor(deltaTime/1000), rewardLv: endLv, costGold });
|
||||
}
|
||||
|
||||
async getTasks(msg: {}, session: BackendSession) {
|
||||
|
||||
Reference in New Issue
Block a user