diff --git a/lua/app/module/battle/controller/battle_controller_stage.lua b/lua/app/module/battle/controller/battle_controller_stage.lua index 14ad1141..6a099be6 100644 --- a/lua/app/module/battle/controller/battle_controller_stage.lua +++ b/lua/app/module/battle/controller/battle_controller_stage.lua @@ -167,7 +167,7 @@ function BattleControllerStage:controllBattleEnd() local atkReport = {} local teamEntity = DataManager.BattleData:getAtkTeam() local members = teamEntity:getAllMembers() - for k, v in ipairs(members) do + for k, v in pairs(members) do local report = { heroId = v:getId(), dmg = v:getDamageCount(),