From 7c1b4ff3635e266b57c47eabe68466064923db2f Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 22 一月 2019 11:17:02 +0800 Subject: [PATCH] 5512 子 【开发】跨服 -- 跨服字典统一处理,部分状态不同步导致战力不对应问题 --- 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