From 93591a53c1cdabb4e595fa4d5c36eb89998a6e6f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 25 五月 2019 18:50:56 +0800
Subject: [PATCH] 6805 【后端】【2.0】副本前端化(召唤木桩由玩家召唤兽改为普通NPC)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py | 7 +++++++
1 files changed, 7 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..05616dc 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
@@ -31,6 +31,7 @@
# @return "True" or "False" or ""
# @remarks 函数详细说明.
def DoLogic(query_Type, query_ID, packCMDList, tick):
+ return
curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
if not curPlayer or curPlayer.IsEmpty():
@@ -38,6 +39,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