心愿法宝修改提交
parent
5838089889
commit
1bc056f23a
|
@ -103,8 +103,9 @@ end
|
||||||
|
|
||||||
function this:Refresh(isTop,isAni)
|
function this:Refresh(isTop,isAni)
|
||||||
local data = tonumber(specialConfig[119].Value)
|
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()
|
self.parent:ClosePanel()
|
||||||
|
return
|
||||||
end
|
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(),"%")
|
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
|
self.infoTxt.text=aaa
|
||||||
|
|
|
@ -36,6 +36,7 @@ function WishEquipBuyTenPanel:InitComponent()
|
||||||
this.itemTip3=Util.GetGameObject(this.content3, "icon/Tip")
|
this.itemTip3=Util.GetGameObject(this.content3, "icon/Tip")
|
||||||
this.itemTip3:SetActive(false)
|
this.itemTip3:SetActive(false)
|
||||||
this.itemNum3=Util.GetGameObject(this.content3, "num"):GetComponent("Text")
|
this.itemNum3=Util.GetGameObject(this.content3, "num"):GetComponent("Text")
|
||||||
|
this.itemNum3.text="X10"
|
||||||
this.itemInfo3=Util.GetGameObject(this.content3, "info"):GetComponent("Text")
|
this.itemInfo3=Util.GetGameObject(this.content3, "info"):GetComponent("Text")
|
||||||
--this.tipText=Util.GetGameObject(this.openOneAgainButton, "Text"):GetComponent("Text")
|
--this.tipText=Util.GetGameObject(this.openOneAgainButton, "Text"):GetComponent("Text")
|
||||||
for i = 1, 10 do
|
for i = 1, 10 do
|
||||||
|
|
Loading…
Reference in New Issue