| System/Dungeon/DungeonNuwaVictoryWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/HazyRegion/HazyRegionModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Dungeon/DungeonNuwaVictoryWin.cs
@@ -137,10 +137,25 @@ } else { m_ContainerReward.gameObject.SetActive(true); m_ChallengeRemind.gameObject.SetActive(result.grade >= 5 && result.lineID + 1 < dungeonNuwaModel.floorCount && !satisfyChallengeNext); m_ChallengeRemind.gameObject.SetActive(false); if (result.grade >= 5) { if (satisfyChallengeNext) { if (result.firstPassItem != null && result.firstPassItem.Length > 0) { m_ChallengeRemind.gameObject.SetActive(true); m_ChallengeRemind.text = Language.Get("DungeonNuwaRemind2"); m_ChallengeRemind.color = UIHelper.GetUIColor(TextColType.Green); } } else { m_ChallengeRemind.gameObject.SetActive(true); m_ChallengeRemind.text = Language.Get("DungeonNuwaRemind1"); m_ChallengeRemind.color = UIHelper.GetUIColor(TextColType.Red); } } DrawItemRewards(); System/HazyRegion/HazyRegionModel.cs
@@ -54,6 +54,7 @@ public bool incidentDirty { get; set; } public int openActviePoint { get; private set; } public int autoOpenLimitLevel { get; private set; } int m_SelectIncident; public int selectIncident @@ -174,7 +175,8 @@ var mapId = PlayerDatas.Instance.baseData.MapID; if (!MapUtility.IsDungeon(mapId)) { if (IsIncidentDungeon(cacheMapId)) if (PlayerDatas.Instance.baseData.LV > autoOpenLimitLevel && IsIncidentDungeon(cacheMapId)) { SnxxzGame.Instance.StartCoroutine(Co_TryOpenHazyRegionWin()); } @@ -232,6 +234,9 @@ funcConfig = FuncConfigConfig.Get("ImmortalDomainActivePoint"); openActviePoint = int.Parse(funcConfig.Numerical2); funcConfig = FuncConfigConfig.Get("HazyRegionAutoOpen"); autoOpenLimitLevel = int.Parse(funcConfig.Numerical1); } public bool TryGetIncident(int id, out Incident incident)