符文副本结算波次处理
This commit is contained in:
parent
d00dc49019
commit
5437d506a6
@ -388,7 +388,7 @@ end
|
||||
function BattleControllerDungeonRune:controllBattleEnd()
|
||||
self.combatReport = {
|
||||
battleType = GConst.BattleConst.BATTLE_TYPE.DUNGEON_RUNE,
|
||||
wave = 0,
|
||||
wave = self:getWaveIndex(),
|
||||
victory = self.victory,
|
||||
}
|
||||
local atkReport = {}
|
||||
@ -402,6 +402,9 @@ function BattleControllerDungeonRune:controllBattleEnd()
|
||||
table.insert(atkReport, report)
|
||||
end
|
||||
self.combatReport.atkReport = atkReport
|
||||
if not self.victory then
|
||||
self.combatReport.wave = self.combatReport.wave - 1
|
||||
end
|
||||
BIReport:postFightHeroReport(self.combatReport.battleType, atkReport)
|
||||
ModuleManager.DungeonRuneManager:reqFightSettlement(self.chapterId, self.combatReport, self.taskProgress, self.dungeonRuneRemainRoundCount)
|
||||
end
|
||||
|
||||
@ -82,6 +82,7 @@ function DungeonRuneManager:rspFight(result)
|
||||
end
|
||||
|
||||
function DungeonRuneManager:reqFightSettlement(chapterId, combatReport, taskProgress, remainRound)
|
||||
taskProgress[GConst.BattleConst.BATTLE_TASK_FIELD.PASS_WAVE] = 0-- 符文副本不需要波次数据
|
||||
local parmas = {
|
||||
id = chapterId,
|
||||
win = combatReport.victory,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user