hxp
2019-04-29 fba7745533989fc514ce7a8e9edc8017abd2d69e
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_SummonNPC.py
@@ -70,6 +70,12 @@
        #怪物的召唤兽,不考虑攻击模式问题
        return ChConfig.Type_Relation_Enemy , ChConfig.Def_PASysMessage_None
    
    #私有木桩只能自己打自己的
    if curTagSummonNPC.GetType() in [ChConfig.ntPriWoodPilePVE, ChConfig.ntPriWoodPilePVP]:
        if not GameWorld.IsSameObj(curPlayer, curTagPlayer):
            return ChConfig.Type_Relation_Friend , ChConfig.Def_PASysMessage_None
        return ChConfig.Type_Relation_Enemy , ChConfig.Def_PASysMessage_None
    #自己的召唤兽,不能攻击
    if GameWorld.IsSameObj(curPlayer, curTagPlayer) :
        return ChConfig.Type_Relation_Friend , ChConfig.Def_PASysMessage_None