4726 【主干】【长尾】【BT】争夺模式下 乾元雷(50900)对非目标造成了伤害
1个文件已修改
6 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -2781,6 +2781,12 @@
        if CanAlikeTeam(curPlayer, tagPlayer):
            return ChConfig.Type_Relation_Friend, ChConfig.Def_PASysMessage_NotAttackTeam
        
        selectObjType = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_SelectObjType)
        selectObjID = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_SelectObjID)
        if selectObjType != IPY_GameWorld.gotPlayer or selectObjID != tagPlayer.GetPlayerID():
            #GameWorld.DebugLog("防卫模式不可攻击非选中目标! selectObjType=%s,selectObjID=%s" % (selectObjType, selectObjID))
            return ChConfig.Type_Relation_Friend, ChConfig.Def_PASysMessage_None
    # 全体模式
    elif curPlayerAttackMode == IPY_GameWorld.amAll:
        pass