From 7cdb243db4fc597190a3d7d37af411c9893859a8 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 26 六月 2019 10:46:45 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py | 5 ++++- 1 files changed, 4 insertions(+), 1 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 b616315..e76cf2a 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 @@ -1576,8 +1576,11 @@ #GameWorld.DebugLog('封魔坛最大可恢复次数 %s'%maxCanAdd) curTime = int(time.time()) - recoverInterval = IpyGameDataPY.GetFuncCfg('FBCntRegainInterval') lastRegainTime = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FbCntRegainStartTime % mapID) + if not lastRegainTime: + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_FbCntRegainStartTime % mapID, curTime) + return + recoverInterval = IpyGameDataPY.GetFuncCfg('FBCntRegainInterval') needTime = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FbCntRegainTotalTime % mapID) if not needTime: needTime = recoverInterval -- Gitblit v1.8.0