Update - 1.16.0.138
EN: 1.16.0.138 CN: 1.16.0.137 JP: 1.16.0.141 KR: 1.16.0.143
This commit is contained in:
@@ -733,7 +733,9 @@ function TraceHuntCtrl:RefreshHuntBoardHard()
|
||||
NovaAPI.SetTMPText(self._mapNode.txtAffix[3], orderedFormat(ConfigTable.GetUIText("TraceHunt_HardSwitch_AffixTime"), self.nNormalTime - self.nHardTime))
|
||||
end
|
||||
local bBlock = PlayerData.TraceHunt:GetControlBlockState()
|
||||
self._mapNode.goSwitch:SetActive(not bBlock)
|
||||
local bComplete = PlayerData.TraceHunt:CheckHuntComplete()
|
||||
local bInterrupt = PlayerData.TraceHunt:CheckHuntInterrupt()
|
||||
self._mapNode.goSwitch:SetActive(not bBlock and not bComplete and not bInterrupt)
|
||||
local nHardOpenLevel = PlayerData.TraceHunt:GetHardOpenLevel()
|
||||
local nLevel = PlayerData.TraceHunt:GetTraceHuntLevel()
|
||||
self._mapNode.goSwitchBtn:SetActive(nHardOpenLevel <= nLevel)
|
||||
|
||||
@@ -206,8 +206,8 @@ function TraceHuntHelpCtrl:RefreshHuntBtn()
|
||||
local nId = ConfigTable.GetConfigNumber("TraceHuntPermitItemTid")
|
||||
local nCost = PlayerData.TraceHunt:GetHuntCostCount()
|
||||
local nHasCoin = PlayerData.TraceHunt:GetHuntTokenCount()
|
||||
local bBlock = PlayerData.TraceHunt:GetControlBlockState()
|
||||
if bBlock then
|
||||
local bOpen = PlayerData.TraceHunt:CheckNoneRewardHelpOpen()
|
||||
if not bOpen then
|
||||
self:SetSprite_Coin(self._mapNode.imgReqHuntIcon, nId)
|
||||
NovaAPI.SetTMPText(self._mapNode.txtReqHuntCount, math.ceil(nCost))
|
||||
NovaAPI.SetTMPColor(self._mapNode.txtReqHuntCount, nCost <= nHasCoin and Blue_Normal or Red_Unable)
|
||||
@@ -309,6 +309,7 @@ function TraceHuntHelpCtrl:OnEnable()
|
||||
self._mapNode.Info:SetActive(false)
|
||||
self._mapNode.List:SetActive(false)
|
||||
self.bGetInfo = false
|
||||
self:RefreshRes()
|
||||
local callback = function()
|
||||
self._mapNode.Info:SetActive(true)
|
||||
self._mapNode.List:SetActive(true)
|
||||
@@ -340,8 +341,8 @@ function TraceHuntHelpCtrl:OnBtnClick_Hunt(btn)
|
||||
if self.nSelectIndex == 0 or next(self.tbRecommend) == nil then
|
||||
return
|
||||
end
|
||||
local bBlock = PlayerData.TraceHunt:GetControlBlockState()
|
||||
if bBlock then
|
||||
local bOpen = PlayerData.TraceHunt:CheckNoneRewardHelpOpen()
|
||||
if not bOpen then
|
||||
local nId = ConfigTable.GetConfigNumber("TraceHuntPermitItemTid")
|
||||
local nCost = PlayerData.TraceHunt:GetHuntCostCount()
|
||||
local nHasCoin = PlayerData.TraceHunt:GetHuntTokenCount()
|
||||
|
||||
@@ -110,7 +110,7 @@ TraceHuntPauseCtrl._mapEventConfig = {
|
||||
function TraceHuntPauseCtrl:Awake()
|
||||
self._mapNode.safeAreaRoot:SetActive(false)
|
||||
self.tbGamepadUINode = self:GetGamepadUINode()
|
||||
local nTime = ConfigTable.GetConfigNumber("TraceHuntBossTimeLimit")
|
||||
local nTime = PlayerData.TraceHunt:GetBossTimeLimit()
|
||||
self:OnEvent_Time(nTime)
|
||||
self.isSettlementReady = false
|
||||
local tbConfig = {
|
||||
|
||||
Reference in New Issue
Block a user