| | |
| | | } |
| | | |
| | | bossBattleObject = warlordField.FindBoss(); |
| | | |
| | | WarlordPavilionManager.Instance.AnalysisFinishProgress(warlordField.FuncLineID, out int layerNum, out int levelNum); |
| | | txtBossName.text = Language.Get("WarlordPavilion22", layerNum, levelNum); |
| | | |
| | | DisplaySkillWordsList(lineupConfig); |
| | | |
| | |
| | | { |
| | | TeamHero teamHero = bossBattleObject.teamHero; |
| | | bossHeadCell.SetTeamHero(teamHero); |
| | | txtBossName.text = teamHero.name; |
| | | //txtBossName.text = teamHero.name; |
| | | NPCConfig npcConfig = NPCConfig.Get(teamHero.NPCID); |
| | | //bossLifeBar.SetBaseInfo(Mathf.Max(1, npcConfig.LifeBarCount), (ulong)teamHero.curHp, (ulong)teamHero.maxHp); |
| | | bossBattleObject.buffMgr.onBuffChanged -= OnBuffChanged; |
| | |
| | | else |
| | | { |
| | | bossHeadCell.SetTeamHero(null); |
| | | txtBossName.text = string.Empty; |
| | | //txtBossName.text = string.Empty; |
| | | //bossLifeBar.SetBaseInfo(2, 2, 2); |
| | | Debug.LogError("找不到boss"); |
| | | } |