| | |
| | | }
|
| | | 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))
|