五星拍脸

dev_chengFeng
jiaoyangna 2020-08-31 16:50:15 +08:00
parent c72aa2bd21
commit ed758d3a37
2 changed files with 7 additions and 2 deletions

View File

@ -186,7 +186,6 @@ function this:showTaskList(type)
else
return a.state > b.state
end
end)
this.ScrollView:SetData(rewardData,function(index, rewardItem)
this:SingleTask(rewardItem, rewardData[index])

View File

@ -316,10 +316,13 @@ function RewardItemPopup:SetItemShow(drop)
isPopGetSSR = false
callList:Pop()()
end, 0.05):Start()
end
if curItemData.configData and curItemData.itemType==3 and curItemData.configData.Quality == 5 then
HeroManager.DetectionOpenFiveStarActivity(curItemData.configData.Star)
end
if curItemData.configData and curItemData.itemType==3 and curItemData.configData.Quality == 5 and showHero then
isPopGetSSR = true
isOpenGeiSSRAvtivity = curItemData.configData.Star
isOpenGeiSSRAvtivity = curItemData.configData.Star
UIManager.OpenPanel(UIName.DropGetSSRHeroShopPanel,curItemData.backData, func)
elseif curItemData.configData and curItemData.itemType==1 and
(curItemData.configData.ItemType == ItemType.Title or curItemData.configData.ItemType == ItemType.Ride or
@ -396,6 +399,9 @@ function RewardItemPopup:SetItemShowMax(drop)
callList:Pop()()
end
end
if curItemData.configData and curItemData.itemType==3 and curItemData.configData.Quality == 5 then
HeroManager.DetectionOpenFiveStarActivity(curItemData.configData.Star)
end
if curItemData.configData and curItemData.itemType==3 and curItemData.configData.Quality == 5 and showHero then--五星英雄
isPopGetSSR = true
isOpenGeiSSRAvtivity = curItemData.configData.Star