From 1cebe4ff2aa2fe61cbceec8dd73655d4099f59e8 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 30 十月 2018 15:33:31 +0800
Subject: [PATCH] 4429 【后端】【1.2.0】仙盟活跃界面修改为展示,去除积分兑换活跃令的功能

---
 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