【寻仙招募】心愿选飞升石,查看奖励报错

dev_chengFeng
ZhangBiao 2022-01-13 15:28:09 +08:00
parent 228efd4109
commit 2599afd6de
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ function this:OnShow(_parent,_Data)
this.secondTitle.text="本期UP内容"
if activityType == ActivityTypeDef.LimitUpHero then
local heroConfig=ConfigManager.TryGetConfigData(ConfigName.HeroConfig,heroID)
if not heroConfig then
heroConfig=ConfigManager.TryGetConfigData(ConfigName.ItemConfig,heroID)
end
local wishUpConfig=ConfigManager.TryGetConfigDataByKey(ConfigName.WishActivityUp,"ActivityId",activityId)
local num,pro = 0,0
for i = 1, #wishUpConfig.UpList do