少年修仙传客户端代码仓库
client_linchunjie
2019-05-23 ab9ad044ebae71c641bb67e361f873ba5fd555b5
3335 缥缈仙域优化
3个文件已修改
17 ■■■■■ 已修改文件
System/Dungeon/DungeonFightWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/ClientHazyGrassStage.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyGrassModel.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonFightWin.cs
@@ -369,6 +369,8 @@
                switch (ClientDungeonStageUtility.clientMapId)
                {
                    case 4000:
                    case HazyGrassModel.FAIRY_CLIENTDATAMAP:
                    case HazyGrassModel.REIKI_CLIENTDATAMAP:
                        ClientDungeonStageUtility.ExitNormalClientDungeon();
                        break;
                }
System/HazyRegion/ClientHazyGrassStage.cs
@@ -76,7 +76,10 @@
    private void OnDungeonResultEvent()
    {
        dungeonModel.UpdateCoolDown(DungeonCoolDownType.LeaveMap, 5 * 1000);
        hasCompleted = true;
        ClientDungeonStageUtility.ClearClientDataMapSymbol();
    }
    private void OnCollectFinished(uint _sid)
System/HazyRegion/HazyGrassModel.cs
@@ -232,6 +232,18 @@
                    var collectCount = dungeonModel.GetDugneonNpcCollectCount(npcId);
                    var hintId = dungeonModel.GetDungeonHintId(config.dungeonId, config.lineId);
                    var hintConfig = DungeonHintConfig.Get(hintId);
                    if (hintConfig.NPC1ID.Length > 1
                        && Array.IndexOf(hintConfig.NPC1ID, npcId) != -1)
                    {
                        collectCount = 0;
                        for (int i = 0; i < hintConfig.NPC1ID.Length; i++)
                        {
                            collectCount += dungeonModel.GetDugneonNpcCollectCount(hintConfig.NPC1ID[i]);
                        }
                        return collectCount < hintConfig.targetValue1[0];
                    }
                    if (hintConfig.NPC1ID.Length > 0 && hintConfig.NPC1ID[0] == npcId)
                    {
                        return collectCount < hintConfig.targetValue1[0];