抽卡修改

onepiece_online_and
wangzhenxing 2024-05-12 21:03:20 +08:00
parent 517003116a
commit 59a3bdc14d
2 changed files with 2 additions and 2 deletions

View File

@ -740,7 +740,7 @@ end
--获取我的助战 --获取我的助战
function this.GetMyHelpHero(trailType) function this.GetMyHelpHero(trailType)
if this.myHelpHeroData[trailType] then if this.myHelpHeroData and this.myHelpHeroData[trailType] then
return this.myHelpHeroData[trailType] return this.myHelpHeroData[trailType]
end end
return nil return nil

View File

@ -124,7 +124,7 @@ function this.SetScrollPre(root,data)
getBtn:SetActive(false) getBtn:SetActive(false)
local mask=Util.GetGameObject(root,"mask") local mask=Util.GetGameObject(root,"mask")
if type==1 then if type==1 then
info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为 传说"..wishData.Weight/100 .."%".." 神话"..wishData.MythWeight/100 .."%" info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为:SS伙伴"..wishData.Weight/100 .."%".." SSS伙伴"..wishData.MythWeight/100 .."%"
else else
info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为:"..wishData.Weight/100 .."%" info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为:"..wishData.Weight/100 .."%"
end end