TCX_dev_zeroFive_online
DESKTOP-MMO982B\User 2024-12-12 13:04:05 +08:00
parent ebdb53a3a7
commit fe8efb70e7
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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()