diff --git a/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua b/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua index 1a410a45..ab46ab0f 100644 --- a/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua +++ b/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua @@ -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 diff --git a/lua/app/module/dungeon_rune/dungeon_rune_manager.lua b/lua/app/module/dungeon_rune/dungeon_rune_manager.lua index cfd5814e..2069ad1b 100644 --- a/lua/app/module/dungeon_rune/dungeon_rune_manager.lua +++ b/lua/app/module/dungeon_rune/dungeon_rune_manager.lua @@ -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,