少年修仙传客户端代码仓库
client_Hale
2019-05-06 1c0eab3b2e1484012a0c3291473910e8530e66e8
3338 【BUG】【2.0】仙魔之争,人物死亡后一直倒地
3个文件已修改
33 ■■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/HAC_Activity/DTCAC04_tagGCXMZZFightInfo.cs 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_PlayerXMZZ.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActorPlayerBase.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/HAC_Activity/DTCAC04_tagGCXMZZFightInfo.cs
@@ -113,21 +113,20 @@
        }
        else
        {
            if (vNetData.ItemDataSize > 2)
            if (_propData["EquipShowID"].Count > 0)
            {
                RoleParticularModel.ItemData[] _itemDatas = JsonMapper.ToObject<RoleParticularModel.ItemData[]>(vNetData.ItemData);
                _target.itemDatas = new GA_PlayerXMZZ.XmzzItemInfo[_itemDatas.Length];
                for (int i = 0; i < _itemDatas.Length; ++i)
                _target.itemDatas = new GA_PlayerXMZZ.XmzzItemInfo[_propData["EquipShowID"].Count];
                ItemConfig _itemConfig;
                for (int i = 0; i < _propData["EquipShowID"].Count; ++i)
                {
                    _target.itemDatas[i] = new GA_PlayerXMZZ.XmzzItemInfo();
                    _target.itemDatas[i].id = _itemDatas[i].ItemID;
                    _target.itemDatas[i].isSuit = _itemDatas[i].IsSuit;
                    _target.itemDatas[i].place = _itemDatas[i].ItemIndex;
                    _itemDatas[i].AnalysisUserData();
                    if (_itemDatas[i].useDataDict.ContainsKey(30))
                    _target.itemDatas[i].id = (int)_propData["EquipShowID"][i];
                    _itemConfig = ItemConfig.Get(_target.itemDatas[i].id);
                    if (_itemConfig == null)
                    {
                        _target.itemDatas[i].suitLevel = _itemDatas[i].useDataDict[30][0];
                        continue;
                    }
                    _target.itemDatas[i].place = _itemConfig.EquipPlace;
                }
            }
        }
Fight/GameActor/GA_PlayerXMZZ.cs
@@ -9,8 +9,6 @@
    {
        public int id;
        public int place;
        public int isSuit;
        public int suitLevel;
    }
    public class XmzzTargetInfo
Fight/GameActor/GActorPlayerBase.cs
@@ -1349,6 +1349,18 @@
                    HandResID = _resID;
                }
            }
            if (m_HandModel)
            {
                if (this is GA_Hero)
                {
                    m_HandModel.layer = LayerUtility.Hero;
                }
                else
                {
                    m_HandModel.layer = LayerUtility.Player;
                }
            }
        }
        else
        {