From 84f9abc7067dde4e6b504a1ba2e9f0600a6de46b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 12 三月 2019 20:58:56 +0800
Subject: [PATCH] 4042 【后端】【2.0】邮件包含附件时不能删除邮件 - 服务端添加防范
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py
index d7a8a04..2f4abf4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Player.py
@@ -62,7 +62,8 @@
#人物的召唤兽,不能攻击自己的主人
if GameWorld.IsSameObj(summonOwner, curTagPlayer) :
- return ChNPC.OnGetOwnerRelation(curSummonNPC, curTagPlayer)
+ #return ChNPC.OnGetOwnerRelation(curSummonNPC, curTagPlayer)
+ return ChConfig.Type_Relation_Friend , ChConfig.Def_PASysMessage_None
#判断主人的攻击模式,判断是否可以攻击这个玩家
if not AttackCommon.CheckPlayerAttackMode_Player(summonOwner, curTagPlayer):
--
Gitblit v1.8.0