From f88b6b46193a37b7c948aed6d8e43653861a53ab Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 09 十一月 2018 16:50:02 +0800
Subject: [PATCH] 2325 【BUG】【1.2】限时抢购配置开服第X天开启无法生效
---
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