From 3e8df26af050f3206fb146195d9b31b6b766a5d5 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 23 十一月 2018 10:07:01 +0800
Subject: [PATCH] 4969 子 【1.3.0】上古战场调整 / 【后端】【1.3】上古战场增加每次副本活动,第一次击杀玩家时提示

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

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
index 67c60a0..219378c 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
@@ -774,6 +775,17 @@
 
     
 #---有可能return-----------------------------------------------------------------
+    #商城全服购买限制
+    if callName == "GetStoreServerBuyCnt":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = PlayerStore.DoStoreServerBuyQueryResult(curPlayer, eval(resultName))
+        if ret == None:
+            resultName = ''
+        else:
+            resultName = '%s' % ret
+        
     #玩家等级奖励
     if callName == "GetPlayerLVAward":
         curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)

--
Gitblit v1.8.0