Update - 1.3.0.69

EN: 1.3.0.69
CN: 1.3.0.70
JP: 1.3.0.72
KR: 1.3.0.76
This commit is contained in:
SL1900
2025-12-14 22:30:00 +09:00
parent 5e0d58cfad
commit 5f417fbe9d
603 changed files with 1017024 additions and 5253 deletions
@@ -72,7 +72,8 @@ MiningGameCtrl._mapEventConfig = {
MiningKnockResult = "OnEvent_MiningKnockResult",
MiningGameUpdateScore = "OnEvent_UpdateScore",
MiningGameRewardFxOver = "OnEvent_UpdateScoreFx",
MiningShowReward = "OnEvent_ShowReward"
MiningShowReward = "OnEvent_ShowReward",
Mining_Error = "OnEvent_Error"
}
MiningGameCtrl._mapRedDotConfig = {}
function MiningGameCtrl:Awake()
@@ -175,6 +176,7 @@ function MiningGameCtrl:UpdateLevelData()
end
EventManager.Hit(EventId.BlockInput, true)
self:AddTimer(1, 0.55, function()
self.gridListCtrl:HideReward()
self.gridListCtrl:InitRewardList(self.tbRewardDataList)
EventManager.Hit(EventId.BlockInput, false)
end, true, true, true, nil)
@@ -360,4 +362,10 @@ end
function MiningGameCtrl:OnEvent_ShowReward()
self.gridListCtrl:ShowReward(self.tbRewardDataList)
end
function MiningGameCtrl:OnEvent_Error()
EventManager.Hit(EventId.BlockInput, true)
self.miningData:RequestLevelData(0, function()
EventManager.Hit(EventId.BlockInput, false)
end)
end
return MiningGameCtrl
@@ -107,11 +107,51 @@ function MiningGridCellCtrl:UpdateEffect(nEffectType)
self:UpdateDigEffect()
elseif nEffectType == GameEnum.miningSupportEffect.NeighborDestroyed then
elseif nEffectType == GameEnum.miningSupportEffect.AreaDamageOnDig then
WwiseAudioMgr:PostEvent("mode_digging2_transform")
self._mapNode.effect_Transform:SetActive(true)
timer = self:AddTimer(1, 1, function()
self._mapNode.effect_Transform:SetActive(false)
local index = table.indexof(self.tbTimer, timer)
if 0 < index then
table.remove(self.tbTimer, index)
end
end, true, true, true, nil)
table.insert(self.tbTimer, timer)
elseif nEffectType == GameEnum.miningSupportEffect.ConsumePreserver then
self.bNextIsUnUse = true
elseif nEffectType == GameEnum.miningSupportEffect.ConverterOnEnterLayer then
WwiseAudioMgr:PostEvent("mode_digging2_transform")
self._mapNode.effect_Transform:SetActive(true)
timer = self:AddTimer(1, 1, function()
self._mapNode.effect_Transform:SetActive(false)
local index = table.indexof(self.tbTimer, timer)
if 0 < index then
table.remove(self.tbTimer, index)
end
end, true, true, true, nil)
table.insert(self.tbTimer, timer)
elseif nEffectType == GameEnum.miningSupportEffect.ConverterOnReceiveTreasure then
WwiseAudioMgr:PostEvent("mode_digging2_transform")
self._mapNode.effect_Transform:SetActive(true)
timer = self:AddTimer(1, 1, function()
self._mapNode.effect_Transform:SetActive(false)
local index = table.indexof(self.tbTimer, timer)
if 0 < index then
table.remove(self.tbTimer, index)
end
end, true, true, true, nil)
table.insert(self.tbTimer, timer)
elseif nEffectType == GameEnum.miningSupportEffect.ConverterOnGridDestroyed then
WwiseAudioMgr:PostEvent("mode_digging2_transform")
self._mapNode.effect_Transform:SetActive(true)
timer = self:AddTimer(1, 1, function()
self._mapNode.effect_Transform:SetActive(false)
local index = table.indexof(self.tbTimer, timer)
if 0 < index then
table.remove(self.tbTimer, index)
end
end, true, true, true, nil)
table.insert(self.tbTimer, timer)
elseif nEffectType == GameEnum.miningSupportEffect.CriticalDamage then
self.bNextIsCritical = true
elseif nEffectType == GameEnum.miningSupportEffect.TreasureMarkerOnGridDestroyed then
@@ -66,7 +66,7 @@ function MiningGridListCtrl:FindReward(rewardIndex, scoreTra)
coroutine.yield(CS.UnityEngine.WaitForEndOfFrame())
end
go:SetActive(false)
go.transform:SetSiblingIndex(rewardIndex)
go.transform:SetSiblingIndex(1)
Trail.gameObject:SetActive(false)
EventManager.Hit("MiningGameRewardFxOver")
EventManager.Hit(EventId.BlockInput, false)