心愿抽卡十连 报错修改

dev_chengFeng
jiaoyangna 2021-06-07 18:06:23 +08:00
parent 3b5af67d93
commit 24e2646bb8
1 changed files with 2 additions and 5 deletions

View File

@ -53,11 +53,6 @@ function QianKunBoxBuyTenPanel:InitComponent()
this.contentList[i]=Util.GetGameObject(self.gameObject, "content/itemAnimEffect"..i.."/image/Kuang/itemName/itemContent")
this.contentListParent[i]=Util.GetGameObject(self.gameObject, "content/itemAnimEffect"..i)
end
-- 关于抽卡的LotterySetting数据
local curActivityId=ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.QianKunBox)
drawtType.FindFairySingle=ConfigManager.GetConfigDataByDoubleKey(ConfigName.LotterySetting,"PerCount",1,"ActivityId",curActivityId).Id
drawtType.FindFairyTen=ConfigManager.GetConfigDataByDoubleKey(ConfigName.LotterySetting,"PerCount",10,"ActivityId",curActivityId).Id
end
--绑定事件(用于子类重写)
@ -132,6 +127,8 @@ function QianKunBoxBuyTenPanel:OnOpen(...)
this.drop=args[1]
this.recruitType = args[2]
recType = args[3]
drawtType.FindFairySingle=recType[1]
drawtType.FindFairyTen=recType[2]
if args[4] then
this.tenFunc=args[4]
end