From 617faac5b9f3ee9e987718f2c613920742c67944 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 03 一月 2019 16:15:11 +0800
Subject: [PATCH] 2811 【1.4.100】仙盟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