From 0a17e139006a7e19bc3a100fa394ad7d9b4bb716 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 26 九月 2018 16:37:01 +0800
Subject: [PATCH] 3810 【后端】前期BOSS分线修改

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
index 3ed8437..87218f0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
@@ -25,6 +25,7 @@
 import GameWorld
 import PlayerCoin
 import PlayerControl
+import IpyGameDataPY
 import ShareDefine
 import ChConfig
 
@@ -40,7 +41,12 @@
         return
     
     ctgValue = str(msgList[0])
-    if ctgValue.isdigit():
+    orderInfoIpyData = None
+    if len(msgList) > 1:
+        value2 = str(msgList[1])
+        orderInfoIpyData = IpyGameDataPY.GetIpyGameDataNotLog("OrderInfo", ctgValue, value2)
+        
+    if not orderInfoIpyData and ctgValue.isdigit():
         orderRMB = int(ctgValue)
         isAddBourseMoney = msgList[1] if len(msgList) > 1 else 1
         PlayerCoin.PlayerCoinToGoldEx(curPlayer, orderRMB, ChConfig.Def_GiveMoney_CTG, isAddBourseMoney)

--
Gitblit v1.8.0