少年修仙传客户端代码仓库
client_Hale
2019-05-25 1b7de057e4bef0577c648579c27fbf3f98ffd40f
3692 【BUG】【2.0】在灵草园,向前方使用翻滚技能会被往回拉
1个文件已修改
11 ■■■■■ 已修改文件
Fight/Actor/HeroBehaviour.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Actor/HeroBehaviour.cs
@@ -745,6 +745,12 @@
                _serverHurtList.Clear();
                if (ClientDungeonStageUtility.isClientDungeon)
                {
                    _b405.PosX = (ushort)(GA_Hero.recordServerPos.x + GA_Hero.MapOffset.x);
                    _b405.PosY = (ushort)(GA_Hero.recordServerPos.z + GA_Hero.MapOffset.z);
                }
                //        Debug.LogFormat("释放了技能: {0},当前位置: {1} 目标位置: {2}", _b405.SkillID, new Vector2(_b405.PosX, _b405.PosY), new Vector2(_b405.TagPosX, _b405.TagPosY));
                uint _bindID = 0;
                // 创建出攻击客户端攻击对象和服务端攻击对象
@@ -766,11 +772,6 @@
                        if (_bindID == 0)
                        {
                            continue;
                        }
                        else
                        {
                            _b405.PosX = (ushort)(GA_Hero.recordServerPos.x + GA_Hero.MapOffset.x);
                            _b405.PosY = (ushort)(GA_Hero.recordServerPos.z + GA_Hero.MapOffset.z);
                        }
                    }