少年修仙传客户端代码仓库
client_Hale
2019-04-16 e8fef6c83238990fc56000a439a17b7df3704af3
System/HazyRegion/HazyRegionIncidentBehaviour.cs
@@ -69,7 +69,7 @@
        void DisplayBase()
        {
            var config = HazyRegionConfig.Get(incidentId);
            m_DepletionPoint.text = string.Format("消耗体力: ", config.point);
            m_DepletionPoint.text = string.Format("消耗体力: {0}", config.point);
            m_IncidentTitle.text = config.name;
            m_Icon.SetSprite(config.PortraitID);
            m_Icon.SetNativeSize();
@@ -99,9 +99,9 @@
        void DisplayBoss()
        {
            m_ContainerBoss.gameObject.SetActive(incidentType == HazyRegionIncidentType.Boss);
            m_ContainerBoss.gameObject.SetActive(incidentType == HazyRegionIncidentType.DemonKing);
            var config = HazyRegionConfig.Get(incidentId);
            if (incidentType == HazyRegionIncidentType.Boss)
            if (incidentType == HazyRegionIncidentType.DemonKing)
            {
                var npcConfig = NPCConfig.Get(config.npcId);
                m_BossName.text = npcConfig.charName;