From 1cdfcfa90dc14a0a1c07fe5ef010d0effb716d38 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 26 十二月 2018 16:18:58 +0800
Subject: [PATCH] 5505 【后端】【1.4】法宝标签页新增一个系列(王者法宝),王者法宝的功能开发
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 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 527d953..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
@@ -39,8 +40,13 @@
GameWorld.DebugAnswer(curPlayer, "CTG 商品编号 appID 是否增加集市购买额度")
return
- ctgValue = msgList[0]
- if ctgValue.isdigit():
+ ctgValue = str(msgList[0])
+ 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