From a984223d7a68ebd6596251e43f97903e6bfd395f Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 29 十月 2018 11:13:42 +0800
Subject: [PATCH] 4395 【1.1】【1.2】增加境界升级流向

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
index 2ed843e..e79356d 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -72,6 +72,7 @@
 import PyDataManager
 import PyGameData
 import PlayerTalk
+import PlayerStore
 
 import time
 import datetime
@@ -767,12 +768,21 @@
         return
     #通知神兽副本NPC刷新时间
     if callName =="DogzNPCTime":
-        GameWorldBoss.Sync_DogzNPCRefreshTime(eval(resultName))
+        PyGameData.g_dogzNPCRefreshTimeDict = eval(resultName)
+        GameWorldBoss.Sync_DogzNPCRefreshTime()
         return
 #---return分割线-----------------------------------------------------------------
 
     
 #---有可能return-----------------------------------------------------------------
+    #商城全服购买限制
+    if callName == "GetStoreServerBuyCnt":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = PlayerStore.DoStoreServerBuyQueryResult(curPlayer, eval(resultName))
+        resultName = '%s' % ret
+        
     #玩家等级奖励
     if callName == "GetPlayerLVAward":
         curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)

--
Gitblit v1.8.0