xiyou_yueNanZhengshi
zhangjiannan 2024-10-23 18:21:21 +08:00
parent 89863e1db7
commit 0c7cf4316a
1 changed files with 3 additions and 3 deletions

View File

@ -290,7 +290,7 @@ function FightPointPassMainPanel:InitComponent()
this.timeTxt = Util.GetGameObject(self.gameObject, "battlePanel/timeTxt"):GetComponent("Text")
this.hpTxt = Util.GetGameObject(self.gameObject, "battlePanel/hpTxt"):GetComponent("Text")
this.openTip = Util.GetGameObject(self.gameObject, "battlePanel/openTip"):GetComponent("Text")
this.floorTxt = Util.GetGameObject(self.gameObject, "battlePanel/floorTxt"):GetComponent("Text")
--this.floorTxt = Util.GetGameObject(self.gameObject, "battlePanel/floorTxt"):GetComponent("Text")
this.bossObj = Util.GetGameObject(self.gameObject, "Bg/btnDown/bossObj")
this.bossImg = Util.GetGameObject(self.gameObject, "Bg/btnDown/bossObj/icon"):GetComponent("Image")
this.bossNum = Util.GetGameObject(self.gameObject, "Bg/btnDown/bossObj/num"):GetComponent("Text")
@ -826,7 +826,7 @@ function this.BattleLogic()
this.battleTimer = nil
end
local cd = 0
this.floorTxt.text = string.format(Language[10749], FightPointPassManager.soldierLayerId)
--this.floorTxt.text = string.format(Language[10749], FightPointPassManager.soldierLayerId)
local isHit = false
--如果切回这个界面还在打这个boss
local bossInfo = SmallSoldierManager.bossInfo
@ -985,7 +985,7 @@ function this.BattleLogic()
--if msg.result==1 then
if curSoliderStageConfig.NextId ~= 0 then
FightPointPassManager.soldierLayerId = curSoliderStageConfig.NextId
this.floorTxt.text = string.format(Language[10749], FightPointPassManager.soldierLayerId)
--this.floorTxt.text = string.format(Language[10749], FightPointPassManager.soldierLayerId)
end
curSoliderStageConfig = ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,
FightPointPassManager.soldierLayerId)