【森罗幻境】修复打boss弹出恭喜获得弹窗

dev_chengFeng
ZhangBiao 2021-05-07 11:43:37 +08:00
parent c6a5a7ce01
commit 782588b1ef
1 changed files with 5 additions and 1 deletions

View File

@ -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
-- 试炼副本不能直接结束事件点