From c5d31a742fad33306e2ed5fd7f66084cb87c143c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 29 十一月 2018 02:25:21 +0800
Subject: [PATCH] 4762 【后端】改名后助战信息更新;(最长5分钟内,上下线会强更)
---
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