This commit is contained in:
puxuan 2025-11-11 17:28:22 +08:00
parent a1fecd3263
commit 1b7d156f30
4 changed files with 10 additions and 4 deletions

View File

@ -92,6 +92,9 @@ end
function BattleBaseController:hideTutorialBoard()
end
function BattleBaseController:clearTutorialPath()
end
---- 障碍格子图片
function BattleBaseController:getBlockIcon()
local chapterInfo = self:getChapterConfig()[self.chapterId]
@ -1203,6 +1206,8 @@ function BattleBaseController:enterElimination(needDelay)
self.battleUI:hideAllBoardSfxs()
-- 清除引导路径
self:clearTutorialPath()
self:setCheckTutorial(true)
-- 检查棋盘
local find, pathList = self:findAttention()
@ -1359,8 +1364,6 @@ function BattleBaseController:enterRoundEnd()
return
end
-- 清除引导路径
self:clearTutorialPath()
self.atkTeam:onRoundEnd()
self.defTeam:onRoundEnd()
local unitEntity = self.defTeam:getMainUnit().unitEntity

View File

@ -452,7 +452,7 @@ function BattleResultUI:refreshUnitInfo()
local iconName = "battle_dec_1"
if self.battleType == GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD then
-- iconName = "common_dec_3"
iconName = "battle_dec_2"
local round = self.remainRound or 0
self.unitTxDesc2:setText(round)
self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT))

View File

@ -603,7 +603,7 @@ function MainCityUI:refreshBottomRp()
else
heroRpObj:removeRedPoint()
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
shopRpObj:addRedPoint(0, 0, 1)
else

View File

@ -192,6 +192,9 @@ end
--@region 红点
function TalentData:showRedPoint()
if not self:getIsOpen() then
return false
end
local stage = self:getStage()
local cfg = self:getPlayerExpCfgList(stage)
if not GFunc.checkCost(cfg.cost.id, cfg.cost.num) then