diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonManager.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonManager.lua index a736de2259..0680576bba 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonManager.lua @@ -521,7 +521,11 @@ function this.InitQuickFightData(monsterGroupId, eventId, msg) Game.GlobalEvent:DispatchEvent(GameEvent.Map.PointRemove, MapManager.curTriggerPos) elseif this.difficulty == 2 then Game.GlobalEvent:DispatchEvent(GameEvent.Map.PointRemove, MapManager.curTriggerPos) - UIManager.OpenPanel(UIName.RewardItemPopup,data.drop,1,func) + if data.drop and (#data.drop.itemlist > 0 and #data.drop.equipId > 0 and #data.drop.Hero > 0 and #data.drop.soulEquip > 0 and #data.drop.pokemon > 0) then + UIManager.OpenPanel(UIName.RewardItemPopup,data.drop,1,func) + else + func() + end end func = nil -- 试炼副本不能直接结束事件点