Update - 1.15.0.134
EN: 1.15.0.134 CN: 1.15.0.133 JP: 1.15.0.137 KR: 1.15.0.139
This commit is contained in:
@@ -94,6 +94,11 @@ TraceHuntPauseCtrl._mapNodeConfig = {
|
||||
sNodeName = "sv",
|
||||
sComponentName = "GamepadScroll",
|
||||
sAction = "Scroll"
|
||||
},
|
||||
goLockMask = {},
|
||||
txtLock = {
|
||||
sComponentName = "TMP_Text",
|
||||
sLanguageId = "TraceHunt_Help_HuntNoneRewardMask"
|
||||
}
|
||||
}
|
||||
TraceHuntPauseCtrl._mapEventConfig = {
|
||||
@@ -145,10 +150,19 @@ function TraceHuntPauseCtrl:Refresh()
|
||||
self._mapNode.ScoreStar[i].interactable = i <= totalStar
|
||||
end
|
||||
end
|
||||
self.tbDrop = PlayerData.TraceHunt:GetStarDropCount()
|
||||
local nDifficulty = 1
|
||||
if self.bSelfBoss then
|
||||
nDifficulty = PlayerData.TraceHunt:GetSelfBossHard()
|
||||
else
|
||||
nDifficulty = PlayerData.TraceHunt:GetHelpBossHard()
|
||||
end
|
||||
self.tbDrop = PlayerData.TraceHunt:GetStarDropCount(nDifficulty)
|
||||
self.nStar = totalStar
|
||||
self._mapNode.sv:SetAnim(0.04)
|
||||
self._mapNode.sv:Init(7, self, self.OnGridRefresh)
|
||||
local nCost = PlayerData.TraceHunt:GetHuntCostCount(self.bSelfBoss)
|
||||
local nHasCoin = PlayerData.TraceHunt:GetHuntTokenCount()
|
||||
self._mapNode.goLockMask:SetActive(not self.bSelfBoss and nCost > nHasCoin)
|
||||
end
|
||||
function TraceHuntPauseCtrl:OnGridRefresh(goGrid, gridIndex)
|
||||
local nIndex = gridIndex + 1
|
||||
|
||||
Reference in New Issue
Block a user