[乾坤宝盒]======改成只能选择3个

dev_chengFeng
wangzhenxing 2021-07-16 14:20:25 +08:00
parent 4d11ade910
commit 65a6edeba5
2 changed files with 3 additions and 2 deletions

View File

@ -229,6 +229,7 @@ end
function QianKunBox:contentShow()
wishSoulData =RecruitManager.GetWishEquipData()
local iconsData = ConfigManager.GetAllConfigsDataByKey(ConfigName.LotteryRewardConfig,"Pool",self.singleRecruit.DiamondBoxContain[1][1])
LogRed("lotteryRewardConfig pool=="..self.singleRecruit.DiamondBoxContain[1][1])
local num=1
--如果没有默认数值,默认的就是表里面的请三个魂印
if wishSoulData and #wishSoulData~=0 then

View File

@ -36,8 +36,8 @@ end
function this:BindEvent()
Util.AddClick(this.confirmBtn,function()
if #this.currHeroIds<=0 then
PopupTipPanel.ShowTip("至少选择一枚心愿神")
if #this.currHeroIds~=3 then
PopupTipPanel.ShowTip("添加三枚许愿魂")
return
end
NetManager.BeautyBagWishEquipRequest(this.currHeroIds,function()