From 38904391ac59bc51133e66b9b5150c6b5db46ec4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 08 十月 2019 17:58:00 +0800
Subject: [PATCH] 8301 【恺英】【后端】仙缘币货币调整(改为给灵石,刷新召唤改为消耗灵石)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    5 +++++
 1 files changed, 5 insertions(+), 0 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 4d86505..51c2515 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -2829,6 +2829,7 @@
         return []
     if TYPE_Price == ShareDefine.TYPE_Price_Gold_Paper_Money:
         TYPE_Price = IPY_GameWorld.TYPE_Price_Gold_Money #新版无绑玉,原先绑玉再仙玉的扣法改成 扣仙玉 2019/3/26
+        #恺英版: 恢复绑玉,但是不使用先绑玉再仙玉的规则,原来先绑玉再仙玉的规则一样为默认扣仙玉 2019/10/8
         
     if TYPE_Price in [IPY_GameWorld.TYPE_Price_Gold_Money, IPY_GameWorld.TYPE_Price_Gold_Paper,
                       IPY_GameWorld.TYPE_Price_Silver_Money, IPY_GameWorld.TYPE_Price_Silver_Paper]:
@@ -3134,6 +3135,10 @@
         GameWorld.SendMsgToClientServer(ShareDefine.CrossServerMsg_GiveMoney, msgInfo, [serverGroupID])
         return True
     
+    ## 恺英版去除了仙缘币,改为直接获得绑玉灵石
+    if priceType == ShareDefine.TYPE_Price_XianyuanCoin:
+        priceType = IPY_GameWorld.TYPE_Price_Gold_Paper
+        
     if priceType == IPY_GameWorld.TYPE_Price_Gold_Money:
         if curPlayer.GetGold() + value > ChConfig.Def_PlayerTotalMoney_Gold:
             #超过金钱上限

--
Gitblit v1.8.0