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:
@@ -14,6 +14,7 @@ TraceHuntResultCtrl._mapNodeConfig = {
|
||||
},
|
||||
bgComplete = {},
|
||||
goComplete = {},
|
||||
goCompleteTips2 = {},
|
||||
txtCompleteTipsPrev1 = {
|
||||
sComponentName = "TMP_Text",
|
||||
sLanguageId = "TraceHunt_Result_Star"
|
||||
@@ -116,6 +117,7 @@ function TraceHuntResultCtrl:RefreshSuc()
|
||||
self._mapNode.ScoreStar[i].interactable = i <= self.totalStar
|
||||
end
|
||||
end
|
||||
self._mapNode.goCompleteTips2:SetActive(0 < self.nExp)
|
||||
NovaAPI.SetTMPText(self._mapNode.txtCompleteTipsSuf, self.nExp)
|
||||
end
|
||||
function TraceHuntResultCtrl:RefreshFail()
|
||||
@@ -124,8 +126,15 @@ function TraceHuntResultCtrl:RefreshFail()
|
||||
WwiseManger:SetState("system", "defeat")
|
||||
self._mapNode.btnDamageResult[2].gameObject:SetActive(self.tbCharDamage ~= nil and #self.tbCharDamage > 0)
|
||||
local nCost = PlayerData.TraceHunt:GetHuntCostCount(self.bSelfBoss)
|
||||
self._mapNode.goFailTips:SetActive(0 < nCost)
|
||||
if 0 < nCost then
|
||||
local bShowRes = false
|
||||
if self.bSelfBoss then
|
||||
bShowRes = 0 < nCost
|
||||
else
|
||||
local nHasCoin = PlayerData.TraceHunt:GetHuntTokenCount()
|
||||
bShowRes = 0 < nCost and nCost <= nHasCoin
|
||||
end
|
||||
self._mapNode.goFailTips:SetActive(bShowRes)
|
||||
if bShowRes then
|
||||
local nId = ConfigTable.GetConfigNumber("TraceHuntPermitItemTid")
|
||||
local mapItemCfg = ConfigTable.GetData_Item(nId)
|
||||
self:SetSprite_Coin(self._mapNode.imgHuntCoin, nId)
|
||||
|
||||
Reference in New Issue
Block a user