hxp
2022-02-21 0c27822ef5e6c67782ed143a4ff03ecfbdfda1fb
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_NormalNPC.py
@@ -62,8 +62,13 @@
#  @remarks 函数详细说明.
def GetTagRelation(curPlayer, curTagNormalNPC, skill, tick):
    defenderCampType = NPCCommon.GetFaction(curTagNormalNPC)
    curFaction = curPlayer.GetFaction()
    if curFaction and defenderCampType:
        if curFaction == defenderCampType:
            return ChConfig.Type_Relation_Friend , ChConfig.Def_PASysMessage_None
        return ChConfig.Type_Relation_Enemy , ChConfig.Def_PASysMessage_None
    #不攻击正义的需要去保护的 这里有女神和守卫
    if defenderCampType == ChConfig.CampType_Justice:
    elif defenderCampType == ChConfig.CampType_Justice:
        return ChConfig.Type_Relation_Friend, ChConfig.Def_PASysMessage_None
    
    #私有木桩只能自己打自己的