Update - 1.13.0.124

EN: 1.13.0.124
CN: 1.13.0.124
JP: 1.13.0.128
KR: 1.13.0.130
This commit is contained in:
SL1900
2026-07-21 12:30:00 +09:00
parent a12087abad
commit 8c4bd41668
1334 changed files with 873026 additions and 95164 deletions
@@ -12,7 +12,12 @@ function PenguinBaseCardCtrl:Refresh(nId, bOpen)
return
end
self:SetSprite(self._mapNode.imgIcon, "UI/Play_PenguinCard/SpriteAtlas/Sprite/" .. mapCfg.Icon)
self.nSuit = mapCfg.Suit1
self.tbSuit = {}
for i = 1, 3 do
if mapCfg["Suit" .. i] > 0 and 0 < mapCfg["SuitCount" .. i] then
table.insert(self.tbSuit, mapCfg["Suit" .. i])
end
end
end
function PenguinBaseCardCtrl:RefreshIcon(bOpen)
self._mapNode.imgBg:SetActive(not bOpen)
@@ -37,12 +42,43 @@ function PenguinBaseCardCtrl:PlayFlipAni()
self._mapNode.imgBg:SetActive(false)
end, true, true, true)
end
function PenguinBaseCardCtrl:PlayReplaceAni()
self.animator:Play("PengUinCard_Base_Double", 0, 0)
function PenguinBaseCardCtrl:PlayFlipBackAni()
if self._mapNode.imgIcon.gameObject.activeSelf == false then
return
end
self._mapNode.imgBg.gameObject:SetActive(true)
self.animator:Play("PengUinCard_Base_TurnBack", 0, 0)
WwiseManger:PostEvent("Mode_Card_trunover")
self.animator.speed = self._panel.mapLevel.nSpeed
local nAnimTime = NovaAPI.GetAnimClipLength(self.animator, {
"PengUinCard_Base_Turn"
})
nAnimTime = nAnimTime / self._panel.mapLevel.nSpeed
self:AddTimer(1, nAnimTime, function()
self._mapNode.imgIcon.gameObject:SetActive(false)
end, true, true, true)
end
function PenguinBaseCardCtrl:PlayReplaceAni(bStone)
if bStone then
self.animator:Play("PengUinCard_Base_Stone", 0, 0)
WwiseManger:PostEvent("Mode_Card_stone")
else
self.animator:Play("PengUinCard_Base_Double", 0, 0)
WwiseManger:PostEvent("Mode_Card_cast")
end
self.animator.speed = self._panel.mapLevel.nSpeed
end
function PenguinBaseCardCtrl:PlayTriggerAni(pos)
if table.indexof(self._panel.mapLevel.tbHandRank, self.nSuit) == 0 then
local bTrigger = false
if not self.tbSuit or #self.tbSuit == 0 then
return
end
for _, nSuit in ipairs(self.tbSuit) do
if 0 < table.indexof(self._panel.mapLevel.tbHandRank, nSuit) then
bTrigger = true
end
end
if not bTrigger then
return
end
self.animator:Play("PengUinCard_Base_Open", 0, 0)