From 8bb1b16496579e13cc294273b24a2fe2dcdcb84c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 26 七月 2019 21:24:43 +0800
Subject: [PATCH] 8180 【后端】【主干】优化组队打BOSS(境界不受boss压制的队员各自掉一份,优化争夺模式不对队友造成伤害)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
index e9dafbf..bb91cc4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -2762,6 +2762,11 @@
         if IsSameServer(curPlayer, tagPlayer):
             return ChConfig.Type_Relation_Friend, ChConfig.Def_PASysMessage_NotAttackServer
         
+    # 锁定模式(不可攻击队友)
+    elif curPlayerAttackMode == IPY_GameWorld.amContest:
+        if CanAlikeTeam(curPlayer, tagPlayer):
+            return ChConfig.Type_Relation_Friend, ChConfig.Def_PASysMessage_NotAttackTeam
+        
     # 全体模式
     elif curPlayerAttackMode == IPY_GameWorld.amAll:
         pass

--
Gitblit v1.8.0