【森罗环境】商店无法拖动修改

skuld 2021-11-28 16:30:11 +08:00
parent a3f8c8aee9
commit 9f64c64712
1 changed files with 7 additions and 4 deletions

View File

@ -389,9 +389,9 @@ end
-- 试炼商店
local trailMapShop = function(showType, eventId, showValues, options)
-- 重新获取商店数据
ShopManager.RequestAllShopData(function()
UIManager.OpenPanel(UIName.MapShopPanel, SHOP_TYPE.TRIAL_SHOP, eventId, options)
end)
-- ShopManager.RequestAllShopData(function()
UIManager.OpenPanel(UIName.MapShopPanel, SHOP_TYPE.TRIAL_SHOP)
-- end)
end
-- 试炼Boss界面
@ -449,7 +449,10 @@ local funcList = {
--事件点触发
function this.EventPointTrigger(eventId)
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)
PlayerManager.RequestEnergy()
-- 只有无尽副本需要重新请求行动力
if MapManager.curCarbonType == CarBonTypeId.ENDLESS then
PlayerManager.RequestEnergy()
end
MyPCall(function ()
Log("EventPointTrigger中得到的事件ID " .. eventId)
if eventId == 0 or eventId < 0 then