From 2f64dfa5d5b4f1106c5985bec7c23615636ccbe2 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 17 九月 2019 15:11:44 +0800
Subject: [PATCH] 8266 【后端】货币祈愿改为获得灵石

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 1383abe..ac84f93 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -2876,8 +2876,9 @@
         GameWorld.Log('###---扣钱异常 = %s' % (price), curPlayer.GetPlayerID())
         return False
     
-    if type_Price == IPY_GameWorld.TYPE_Price_Gold_Paper:
-        type_Price = IPY_GameWorld.TYPE_Price_Gold_Money #新版无绑玉,原先绑玉再仙玉的扣法改成 扣仙玉 2019/6/3
+    #20190917 恢复绑玉
+#    if type_Price == IPY_GameWorld.TYPE_Price_Gold_Paper:
+#        type_Price = IPY_GameWorld.TYPE_Price_Gold_Money #新版无绑玉,原先绑玉再仙玉的扣法改成 扣仙玉 2019/6/3
         
     #金子支付
     if type_Price == IPY_GameWorld.TYPE_Price_Gold_Money:
@@ -3144,13 +3145,13 @@
             GiveMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney, value)
             addDataDict["BourseMoney"] = GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney)
             
-#    elif priceType == IPY_GameWorld.TYPE_Price_Gold_Paper:
-#        if curPlayer.GetGoldPaper() + value > ChConfig.Def_PlayerTotalMoney_Gold:
-#            #超过金钱上限
-#            NotifyCode(curPlayer, "MoneyIsFull", [priceType])
-#            return
-#        
-#        curPlayer.SetGoldPaper(curPlayer.GetGoldPaper() + value)
+    elif priceType == IPY_GameWorld.TYPE_Price_Gold_Paper:
+        if curPlayer.GetGoldPaper() + value > ChConfig.Def_PlayerTotalMoney_Gold:
+            #超过金钱上限
+            NotifyCode(curPlayer, "MoneyIsFull", [priceType])
+            return
+        
+        curPlayer.SetGoldPaper(curPlayer.GetGoldPaper() + value)
         
     elif priceType == IPY_GameWorld.TYPE_Price_Silver_Money:
         # 金钱支持超过20亿, 暂不做上限控制

--
Gitblit v1.8.0