From e3df247e5d0ad9ec44a4eed28c1fc7c9795a7419 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 24 十一月 2018 18:20:06 +0800
Subject: [PATCH] 5031 子 【优化】【1.3】神兵系统修改 / 【后端】【1.3】神兵特效解锁时的系统广播

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRefineStove.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRefineStove.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRefineStove.py
index 9a4d58e..5c38b75 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRefineStove.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRefineStove.py
@@ -30,6 +30,7 @@
 import EventShell
 import PlayerActivity
 import PlayerFairyCeremony
+import PlayerVip
 
 import copy
 
@@ -350,8 +351,8 @@
 def PlayerPrayElixir(index, clientPack, tick):
     curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
     prayCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_AlchemyPrayCnt)
-    limitCnt = IpyGameDataPY.GetFuncCfg('GodAlchemy', 3)
-    if limitCnt and prayCnt >= limitCnt:
+    limitCnt = PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_PrayElixir)
+    if prayCnt >= limitCnt:
         GameWorld.DebugLog('今日祈福丹药次数已满!prayCnt=%s'%prayCnt)
         return
     packSpace = ItemCommon.GetItemPackSpace(curPlayer, IPY_GameWorld.rptItem, 1) 

--
Gitblit v1.8.0