fix bug
This commit is contained in:
parent
a1fecd3263
commit
1b7d156f30
@ -92,6 +92,9 @@ end
|
|||||||
function BattleBaseController:hideTutorialBoard()
|
function BattleBaseController:hideTutorialBoard()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function BattleBaseController:clearTutorialPath()
|
||||||
|
end
|
||||||
|
|
||||||
---- 障碍格子图片
|
---- 障碍格子图片
|
||||||
function BattleBaseController:getBlockIcon()
|
function BattleBaseController:getBlockIcon()
|
||||||
local chapterInfo = self:getChapterConfig()[self.chapterId]
|
local chapterInfo = self:getChapterConfig()[self.chapterId]
|
||||||
@ -1203,6 +1206,8 @@ function BattleBaseController:enterElimination(needDelay)
|
|||||||
|
|
||||||
self.battleUI:hideAllBoardSfxs()
|
self.battleUI:hideAllBoardSfxs()
|
||||||
|
|
||||||
|
-- 清除引导路径
|
||||||
|
self:clearTutorialPath()
|
||||||
self:setCheckTutorial(true)
|
self:setCheckTutorial(true)
|
||||||
-- 检查棋盘
|
-- 检查棋盘
|
||||||
local find, pathList = self:findAttention()
|
local find, pathList = self:findAttention()
|
||||||
@ -1359,8 +1364,6 @@ function BattleBaseController:enterRoundEnd()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 清除引导路径
|
|
||||||
self:clearTutorialPath()
|
|
||||||
self.atkTeam:onRoundEnd()
|
self.atkTeam:onRoundEnd()
|
||||||
self.defTeam:onRoundEnd()
|
self.defTeam:onRoundEnd()
|
||||||
local unitEntity = self.defTeam:getMainUnit().unitEntity
|
local unitEntity = self.defTeam:getMainUnit().unitEntity
|
||||||
|
|||||||
@ -452,7 +452,7 @@ function BattleResultUI:refreshUnitInfo()
|
|||||||
|
|
||||||
local iconName = "battle_dec_1"
|
local iconName = "battle_dec_1"
|
||||||
if self.battleType == GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD then
|
if self.battleType == GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD then
|
||||||
-- iconName = "common_dec_3"
|
iconName = "battle_dec_2"
|
||||||
local round = self.remainRound or 0
|
local round = self.remainRound or 0
|
||||||
self.unitTxDesc2:setText(round)
|
self.unitTxDesc2:setText(round)
|
||||||
self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT))
|
self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT))
|
||||||
|
|||||||
@ -603,7 +603,7 @@ function MainCityUI:refreshBottomRp()
|
|||||||
else
|
else
|
||||||
heroRpObj:removeRedPoint()
|
heroRpObj:removeRedPoint()
|
||||||
end
|
end
|
||||||
local shopRpObj = uiMap["main_ui.bottom_node.icons.ui_spine_obj_3.rp_node"]
|
local shopRpObj = uiMap["main_ui.bottom_node.icons.ui_spine_obj_1.rp_node"]
|
||||||
if DataManager.ShopData:showRedPoint() then
|
if DataManager.ShopData:showRedPoint() then
|
||||||
shopRpObj:addRedPoint(0, 0, 1)
|
shopRpObj:addRedPoint(0, 0, 1)
|
||||||
else
|
else
|
||||||
|
|||||||
@ -192,6 +192,9 @@ end
|
|||||||
|
|
||||||
--@region 红点
|
--@region 红点
|
||||||
function TalentData:showRedPoint()
|
function TalentData:showRedPoint()
|
||||||
|
if not self:getIsOpen() then
|
||||||
|
return false
|
||||||
|
end
|
||||||
local stage = self:getStage()
|
local stage = self:getStage()
|
||||||
local cfg = self:getPlayerExpCfgList(stage)
|
local cfg = self:getPlayerExpCfgList(stage)
|
||||||
if not GFunc.checkCost(cfg.cost.id, cfg.cost.num) then
|
if not GFunc.checkCost(cfg.cost.id, cfg.cost.num) then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user