xdh
2019-06-26 5bd5c3fa2b8a50fd352a895c3e87a3254c705ee7
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