From afb75d68ad291238a45572ef1817bafa34276882 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 14 十一月 2018 13:53:53 +0800 Subject: [PATCH] 2373 【1.2】商城,获得不了助战积分 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py index b61c1ff..8b8ebcd 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py @@ -1569,7 +1569,7 @@ addHelpPoint = min(addHelpPoint, dayMaxPoint-curDayPoint) updHelpPoint = curDayPoint+addHelpPoint PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_FBHelpPointCntDay, updHelpPoint) - curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_FBHelpPoint, updHelpPoint, False) + curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_DayFBHelpPoint, updHelpPoint, False) PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_FBHelpPoint, addHelpPoint, isSysHint=False) PlayerControl.NotifyCode(curPlayer, 'AssistantIntegral', [addHelpPoint]) @@ -1665,7 +1665,7 @@ #重置每日获得的助战积分 if onDayType ==ShareDefine.Def_OnEventTypeEx: PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_FBHelpPointCntDay, 0) - curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_FBHelpPoint, 0, False) + curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_DayFBHelpPoint, 0, False) return ## 玩家通用副本登录处理 @@ -1681,7 +1681,8 @@ #判断副本里离线超过一定时间则退出副本 CheckFBPlayerOffine(curPlayer) #通知助战点数 - curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_FBHelpPoint, 0, False) + curDayPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FBHelpPointCntDay) + curPlayer.SendPropertyRefresh(ShareDefine.CDBPlayerRefresh_DayFBHelpPoint, curDayPoint, False) return def CheckFBPlayerOffine(curPlayer): mapid = curPlayer.GetMapID() -- Gitblit v1.8.0