TCX_dev_zeroFive_online
parent
ebdb53a3a7
commit
fe8efb70e7
|
@ -355,7 +355,7 @@ function this.GetYiYuanUpMaxTime()
|
|||
return maxnum
|
||||
end
|
||||
|
||||
function this.GetTurnTableMaxTime()
|
||||
function this.GetTurnTableMaxTime(priId)
|
||||
local maxnum=0
|
||||
local missions=this.GetActivityInfoByType(ActivityTypeDef.shuaChongTeQuan).mission
|
||||
local index=1
|
||||
|
@ -366,7 +366,7 @@ function this.GetTurnTableMaxTime()
|
|||
end
|
||||
end
|
||||
end
|
||||
local privile=ConfigManager.GetConfigData(ConfigName.PrivilegeTypeConfig,2301)
|
||||
local privile=ConfigManager.GetConfigData(ConfigName.PrivilegeTypeConfig,priId)
|
||||
if privile then
|
||||
maxnum=privile.Condition[index][2]
|
||||
end
|
||||
|
|
|
@ -564,7 +564,7 @@ function this.RrFreshInfo()
|
|||
this.CheckRedPoint()
|
||||
local usedTime=PrivilegeManager.GetPrivilegeUsedTimesById(priId)
|
||||
LogError("usedtime=="..usedTime)
|
||||
maxTimesCount=ActivityGiftManager.GetTurnTableMaxTime()
|
||||
maxTimesCount=ActivityGiftManager.GetTurnTableMaxTime(priId)
|
||||
leftTime=maxTimesCount - usedTime
|
||||
this.leftTimeTxt.text=leftTime.."次"
|
||||
--this.SetRewardBox()
|
||||
|
|
Loading…
Reference in New Issue