Update - 1.9.0.107

EN: 1.9.0.107
CN: 1.9.0.108
JP: 1.9.0.112
KR: 1.9.0.112
This commit is contained in:
SL1900
2026-05-14 16:00:00 +09:00
parent 4b880806ef
commit eafd8f4088
1034 changed files with 809589 additions and 23067 deletions
+4 -5
View File
@@ -168,13 +168,12 @@ function MatCraftingCtrl:RefreshCraftingCount()
self._mapNode.btnAddGray.gameObject:SetActive(self.nCraftingCount >= self.nMaxCraftingCount)
self._mapNode.btnReduceCount.gameObject:SetActive(self.nCraftingCount > 1)
self._mapNode.btnReduceGray.gameObject:SetActive(self.nCraftingCount <= 1)
if self.nProductionId == nil or self.nProductionId == 0 then
return
end
local nHasCount = PlayerData.Item:GetItemCountByID(self.nProductionId)
NovaAPI.SetTMPText(self._mapNode.txtBeforeValue, nHasCount)
local tbCfgData = PlayerData.Crafting:GetProductionById(self.nSelectPId)
local nPerCount = 0
if nil ~= tbCfgData then
nPerCount = tbCfgData.ShowProductionId == 0 and tbCfgData.ProductionPerBatch or tbCfgData.ShowProductionPerBatch
end
local nPerCount = tbCfgData.ShowProductionId == 0 and tbCfgData.ProductionPerBatch or tbCfgData.ShowProductionPerBatch
local nAfterCount = nHasCount + self.nCraftingCount * nPerCount
NovaAPI.SetTMPText(self._mapNode.txtAfterValue, nAfterCount)
end