少年修仙传客户端代码仓库
client_Hale
2018-09-11 f9a83c98a8f3a91470f043b222e7114d65d3da46
3270 高低模及手臂逻辑暂时只对龙魂生效
3个文件已修改
33 ■■■■ 已修改文件
Fight/GameActor/GA_Player.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActorPlayerBase.cs 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/UI3DShowHero.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_Player.cs
@@ -134,6 +134,11 @@
            SwitchWeapon(0);
        }
        if (SecondaryID == 0 || SecondaryID == uint.MaxValue)
        {
            SwitchSecondary(0);
        }
        ActorInfo.LV = m_H0434.LV;
        ActorInfo.familyName = m_H0434.FamilyName;
        ActorInfo.ReincarnationLv = m_H0434.ReincarnationLv;
Fight/GameActor/GActorPlayerBase.cs
@@ -314,6 +314,7 @@
    private GameObject m_ClothesModel;
    private GameObject m_WeaponModel;
    private GameObject m_SecondaryModel;
    private GameObject m_HandModel;
    private GameObject m_WingModel;
    private GameObject m_HorseModel;
    private GA_Guard m_Guard;
@@ -517,10 +518,14 @@
        }
        int _resID = JobSetup.BaseEquip[2];
        ItemConfig _clothesItemConfig = Config.Instance.Get<ItemConfig>((int)ClothesItemID);
        if (_clothesItemConfig != null)
        if (JobSetup.Job == 1)
        {
            _resID = _clothesItemConfig.ChangeOrd + 2900;
            if (_clothesItemConfig != null)
            {
                _resID = _clothesItemConfig.ChangeOrd + 2900;
            }
        }
        ItemConfig _itemConfig = null;
@@ -546,9 +551,13 @@
            if (SecondaryID == 0)
            {
                int _baseHandResId = JobSetup.BaseEquip[2];
                if (_clothesItemConfig != null)
                if (JobSetup.Job == 1)
                {
                    _baseHandResId = _clothesItemConfig.ChangeOrd + 2900;
                    if (_clothesItemConfig != null)
                    {
                        _baseHandResId = _clothesItemConfig.ChangeOrd + 2900;
                    }
                }
                if (!TryRelease(_baseHandResId, m_SecondaryModel))
UI/Common/UI3DShowHero.cs
@@ -329,8 +329,15 @@
            if (itemID == 0)
            {
                // 这里不再读取默认的副手装备,而是根据套装读取默认的手臂装备
                newSecondary = clothesId + 2900;
                if (job == 1)
                {
                    // 这里不再读取默认的副手装备,而是根据套装读取默认的手臂装备
                    newSecondary = clothesId + 2900;
                }
                else
                {
                    newSecondary = config.BaseEquip[2];
                }
            }
            else
            {