From c3bb4072a13fc6e9541c971dec3f2865184136cd Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 10 六月 2019 17:41:59 +0800
Subject: [PATCH] 3987 【BUG】【2.0】满级,传功,显示获得36446亿的修为

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_SummonNPC.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_SummonNPC.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_SummonNPC.py
index 1239646..6994f24 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_SummonNPC.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_SummonNPC.py
@@ -75,7 +75,8 @@
     if curPlayer != None and curTagPlayer != None :
         #私有木桩只能自己打自己的
         if curTagSummon.GetType() in [ChConfig.ntPriWoodPilePVE, ChConfig.ntPriWoodPilePVP]:
-            if not GameWorld.IsSameObj(curPlayer, curTagPlayer):
+            summonPlayerID = curTagSummon.GetDictByKey(ChConfig.Def_NPC_Dict_PriWoodPilePlayerID)
+            if curPlayer.GetPlayerID() != summonPlayerID:
                 return ChConfig.Type_Relation_Friend , ChConfig.Def_PASysMessage_None
             return ChConfig.Type_Relation_Enemy , ChConfig.Def_PASysMessage_None
         

--
Gitblit v1.8.0