Update - 1.12.0.120
EN: 1.12.0.120 CN: 1.12.0.120 JP: 1.12.0.124 KR: 1.12.0.124
This commit is contained in:
@@ -283,7 +283,6 @@ function StarTowerFastBattleCtrl:RefreshRoomIcon()
|
||||
else
|
||||
self._mapNode.imgRed:SetActive(false)
|
||||
local _, color = ColorUtility.TryParseHtmlString("#08D3D4")
|
||||
NovaAPI.SetImageColor(self._mapNode.imgSkillTypeBg, color)
|
||||
NovaAPI.SetImageColor(self._mapNode.imgFloorNum[1], color)
|
||||
NovaAPI.SetImageColor(self._mapNode.imgFloorNum[2], color)
|
||||
local _, color2 = ColorUtility.TryParseHtmlString("#4CFEFF")
|
||||
@@ -501,7 +500,7 @@ function StarTowerFastBattleCtrl:OnFastBattleButtonClick()
|
||||
if not self.bHandleOver or self.bPause then
|
||||
return
|
||||
end
|
||||
if self.nNextCaseId < 0 or self.nNextCaseId < 0 then
|
||||
if self.nNextCaseId < 0 or 0 > self.nNextRoomType then
|
||||
return
|
||||
end
|
||||
self:EnterRoom()
|
||||
@@ -583,7 +582,7 @@ function StarTowerFastBattleCtrl:OnEvent_RefreshFastBattleInfo(tbChangeFateCard,
|
||||
end
|
||||
end
|
||||
end
|
||||
for _, changeInfo in pairs(tbChangeFateCard) do
|
||||
for _, changeInfo in ipairs(tbChangeFateCard) do
|
||||
if changeInfo[4] == 1 then
|
||||
local mapItem = ConfigTable.GetData_Item(changeInfo[1])
|
||||
if nil ~= mapItem then
|
||||
|
||||
@@ -32,7 +32,9 @@ StarTowerFastBattlePanel._tbDefine = {
|
||||
}
|
||||
function StarTowerFastBattlePanel:Awake()
|
||||
self.trUIRoot = GameObject.Find("---- UI ----").transform
|
||||
local tbStarTowerInfo = self:GetPanelParam()[1]
|
||||
local tbParams = self:GetPanelParam()
|
||||
assert(type(tbParams) == "table" and tbParams[1] ~= nil, "StarTowerFastBattlePanel: 缺少初始化参数")
|
||||
local tbStarTowerInfo = tbParams[1]
|
||||
local luaClass = require("Game.Adventure.StarTower.StarTowerSweepData")
|
||||
self.LevelData = luaClass.new(tbStarTowerInfo.Meta.Id)
|
||||
self.LevelData:Init(tbStarTowerInfo.Meta, tbStarTowerInfo.Room, tbStarTowerInfo.Bag)
|
||||
|
||||
Reference in New Issue
Block a user