少年修仙传客户端代码仓库
client_linchunjie
2019-05-23 c4571d1b83776b15c17dce395afb9791257a7449
3335 缥缈仙域优化
3个文件已修改
11 ■■■■■ 已修改文件
System/HazyRegion/ClientHazyGrassStage.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionIncidentPanel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionModel.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/ClientHazyGrassStage.cs
@@ -6,7 +6,6 @@
public class ClientHazyGrassStage : DungeonStage
{
    static readonly Vector3 PlayerBornPosition1 = new Vector3(19.401f, 4.985f, 5.494f);
    static readonly Vector3 PlayerBornPosition2 = new Vector3(17.25f, 5.12f, 3.70f);
    static List<Vector3> s_NpcPositions = new List<Vector3>();
@@ -180,9 +179,12 @@
        if (hasInitializedNpc)
        {
            var positions = config.GetNpcPositions();
            var enemyPosition = positions[UnityEngine.Random.Range(0, positions.Count)];
            if (ClientDungeonStageUtility.clientMapId == HazyGrassModel.FAIRY_CLIENTDATAMAP)
            {
                PersonalEnemy.Create((uint)s_EnemyNpcId, E_ActorGroup.Enemy, PlayerBornPosition2);
                PersonalEnemy.Create((uint)s_EnemyNpcId, E_ActorGroup.Enemy, enemyPosition);
            }
        }
System/HazyRegion/HazyRegionIncidentPanel.cs
@@ -31,7 +31,7 @@
        private void Awake()
        {
            //m_Back.AddListener(OnBack);
            m_Back.AddListener(OnBack);
            m_Goto.AddListener(Goto);
        }
@@ -113,7 +113,7 @@
        void DisplayBackButton()
        {
            m_Back.gameObject.SetActive(false);
            m_Back.gameObject.SetActive(!model.InFakeHazyRegion);
        }
        int Compare(int lhs, int rhs)
System/HazyRegion/HazyRegionModel.cs
@@ -482,6 +482,7 @@
                      {
                          InitializeAdventure();
                          WindowJumpMgr.Instance.ClearJumpData();
                          WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.BaseAndCustom);
                          var hero = PlayerDatas.Instance.hero;