少年修仙传客户端代码仓库
client_Hale
2019-04-18 428bb378be2dc9582d431e2f5d5ec908bb824cbd
382 修复玩家选中逻辑
1个文件已修改
41 ■■■■ 已修改文件
Fight/GameActor/GA_Player.cs 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_Player.cs
@@ -574,28 +574,31 @@
        }
        else if ((E_AttackMode)PlayerDatas.Instance.baseData.AttackMode == E_AttackMode.Family)
        {
            // 判断队伍
            if (ActorInfo.teamID != 0
             && ActorInfo.teamID != 0
             && ActorInfo.teamID == ActorInfo.teamID)
            if (_hero != null)
            {
                return false;
            }
                // 判断队伍
                if (ActorInfo.teamID != 0
                 && _hero.ActorInfo.teamID != 0
                 && ActorInfo.teamID == _hero.ActorInfo.teamID)
                {
                    return false;
                }
            // 判断阵营
            if (ActorInfo.faction != 0
             && ActorInfo.faction != 0
             && ActorInfo.faction == ActorInfo.faction)
            {
                return false;
            }
                // 判断阵营
                if (ActorInfo.faction != 0
                 && _hero.ActorInfo.faction != 0
                 && ActorInfo.faction == _hero.ActorInfo.faction)
                {
                    return false;
                }
            // 判断仙盟
            if (ActorInfo.familyID != 0
             && ActorInfo.familyID != 0
             && ActorInfo.familyID == ActorInfo.familyID)
            {
                return false;
                // 判断仙盟
                if (ActorInfo.familyID != 0
                 && _hero.ActorInfo.familyID != 0
                 && ActorInfo.familyID == _hero.ActorInfo.familyID)
                {
                    return false;
                }
            }
            if (StatusMgr.Instance.IsExist(ServerInstID, StatusMgr.Instance.redNameBuffID))