少年修仙传客户端代码仓库
client_Hale
2019-07-28 2526cc2ed967187403a0a6a2a1ffcb2178c2c933
382 跨服重连守护消失
2个文件已修改
18 ■■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_Hero.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs
@@ -107,6 +107,14 @@
            yield break;
        }
        var pack = ModelCenter.Instance.GetModel<PackModel>();
        var equipIndex = EquipSet.ClientPlaceToServerPlace(new Int2(0, (int)RoleEquipType.Guard));
        var _itemModel = pack.GetItemByIndex(PackType.Equip, equipIndex);
        if (_itemModel != null && _itemModel.itemInfo != null)
        {
            PlayerDatas.Instance.hero.SwitchGuard((uint)_itemModel.itemId);
        }
        bool _result = MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss);
        if (MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss))
Fight/GameActor/GA_Hero.cs
@@ -501,6 +501,11 @@
    private void HandleAutoHazyRegion()
    {
        if (!hazyRegionModel.auto)
        {
            return;
        }
        if (!startAutoHazyRegion)
        {
            if (ClientDungeonStageUtility.isClientDungeon)
@@ -524,11 +529,6 @@
        }
        m_CalcAutoHazyRegionTime = 0;
        if (!hazyRegionModel.auto)
        {
            return;
        }
        if (ActorInfo.serverDie)
        {