【升级豪礼】代码丢了,不是按照等级显示,需要重新修改

dev_chengFeng
ZhangBiao 2021-06-17 18:05:39 +08:00
parent bd4796a4af
commit c9bf69310c
1 changed files with 5 additions and 1 deletions

View File

@ -279,7 +279,11 @@ function this.GetExpertData(indexType,actType)
else
curData.rewards[i].otherData.state = 3
end
curData.rewards[i].otherData.info = string.format("剩余:%s",curData.rewards[i].progress)
if PlayerManager.level >= curData.rewards[i].otherData.Values then
curData.rewards[i].otherData.info = string.format("%s/%s",curData.rewards[i].otherData.Values,curData.rewards[i].otherData.Values)
else
curData.rewards[i].otherData.info = string.format("%s/%s",PlayerManager.level,curData.rewards[i].otherData.Values)
end
end
else --日累计充值 达人
if actType == ActivityTypeDef.AccumulativeRechargeExper or actType == ActivityTypeDef.DynamicAct_recharge then