心愿法宝修改提交

develop_bt_ob2
wangZhenXing 2023-07-03 16:01:29 +08:00
parent 5838089889
commit 1bc056f23a
2 changed files with 3 additions and 1 deletions

View File

@ -103,8 +103,9 @@ end
function this:Refresh(isTop,isAni)
local data = tonumber(specialConfig[119].Value)
if not RecruitManager.drawTimes[1] or RecruitManager.drawTimes[1] < data then
if not RecruitManager.drawTimes[4] or RecruitManager.drawTimes[4] < data then
self.parent:ClosePanel()
return
end
local aaa=string.format("抽到<size=35><color=#31FF00>5星</color></size>神将法宝时,有<size=35><color=#31FF00>%s%s</color></size>几率转化为<size=35><color=#31FF00>心愿法宝!</color></size>",RecruitManager.GetWishPro(),"%")
self.infoTxt.text=aaa

View File

@ -36,6 +36,7 @@ function WishEquipBuyTenPanel:InitComponent()
this.itemTip3=Util.GetGameObject(this.content3, "icon/Tip")
this.itemTip3:SetActive(false)
this.itemNum3=Util.GetGameObject(this.content3, "num"):GetComponent("Text")
this.itemNum3.text="X10"
this.itemInfo3=Util.GetGameObject(this.content3, "info"):GetComponent("Text")
--this.tipText=Util.GetGameObject(this.openOneAgainButton, "Text"):GetComponent("Text")
for i = 1, 10 do