From b61fe6ed796dfeb1a7ed718d8099d6edb05f36f6 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 22 一月 2019 19:16:12 +0800
Subject: [PATCH] 6001 【后端】【1.5.100】七日巡礼增加条件
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
index e7edcd4..6895204 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
@@ -1805,7 +1805,8 @@
if updDictValue == 0:
curPlayer.NomalDictDelProperty(keyName, 0)
else:
- curPlayer.NomalDictAddProperty(keyName, updDictValue)
+ import PlayerControl
+ PlayerControl.NomalDictSetProperty(curPlayer, keyName, updDictValue)
#DebugLog("SetDictValueByBit keyFormat=%s,isBin=%s,bit=%s,keyNum=%s,keyName=%s,dictValue=%s,bitIndex=%s,updDictValue=%s"
# % (keyFormat, isBin, bit, keyNum, keyName, dictValue, bitIndex, updDictValue))
return dictValue, updDictValue
--
Gitblit v1.8.0