From 5c2e28719aa8ad20027b6c109e2d4b678c4da2a1 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 28 十一月 2018 16:13:15 +0800 Subject: [PATCH] 4762 【后端】修复使用命令设置今日已获得仙缘币时没有同步导致获得上限会溢出的bug; --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index e0a2d48..da6762a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -5716,7 +5716,7 @@ ## 玩家今日已获得仙缘币 def GetTodayXianyuanCoin(curPlayer): return curPlayer.GetExAttr11() -def SetTodayXianyuanCoin(curPlayer, value): return curPlayer.SetExAttr11(value) +def SetTodayXianyuanCoin(curPlayer, value): return curPlayer.SetExAttr11(value, False, True) def AddTodayXianyuanCoin(curPlayer, addValue): return curPlayer.SetExAttr11(curPlayer.GetExAttr11() + addValue, False, True) ##VIP到期时间, 需要同步GameServer -- Gitblit v1.8.0