From f778e109783cf44c6bf6b1603ae1668629f1b77f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 24 一月 2019 19:26:15 +0800
Subject: [PATCH] 5735 【后端】【1.5】仙玉返还

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py
index 0ad3920..f3cd3f1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py
@@ -38,6 +38,12 @@
         return
     
     gold = packCMDList[0]
+    
+    curGold = curPlayer.NomalDictGetProperty(ChConfig.Def_QuDao_DoubleBillGold)
+    if curGold != 0:
+        # 已记录的不能再更改
+        return
+    
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_QuDao_DoubleBillGold, gold)    
     if gold <= 2:
         return

--
Gitblit v1.8.0