From 560e29fe8dc7af87417abd9c510701fde33d9ebb Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 20 三月 2019 17:31:39 +0800 Subject: [PATCH] 6374 【后端】【2.0】删除无用功能代码、封包、配置(删除修复代码) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py | 12 ++---------- 1 files changed, 2 insertions(+), 10 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 3d1fdd5..38cff40 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 @@ -30,6 +30,7 @@ import EventReport import PlayerFamily import PlayerActivity +import ItemControler import PlayerSuccess import GameFuncComm import PyGameData @@ -201,15 +202,6 @@ if isNotify: PlayerControl.NotifyCode(curPlayer, "FbLV", [mapID]) return ShareDefine.EntFBAskRet_LVLimit - - #职业阶判断 - jobRankLimit = fbLineIpyData.GetJobRankLimit() - if jobRankLimit and PlayerControl.GetJobRank(curPlayer) < jobRankLimit: - GameWorld.Log("玩家职业阶级不足, 无法进入副本!mapID=%s,lineID=%s,jobRank=%s < jobRankLimit=%s" - % (mapID, lineID, PlayerControl.GetJobRank(curPlayer), jobRankLimit), playerID) - if isNotify: - PlayerControl.NotifyCode(curPlayer, "SingleEnterJob", [mapID]) - return ShareDefine.EntFBAskRet_JobRankLimit #门票判断 if not GetFBEnterTicket(curPlayer, mapID, lineID, fbLineIpyData, reqEnterCnt, isTeamAsk)[0]: @@ -601,7 +593,7 @@ continue itemDict['ItemID'] = itemInfo.GetItemTypeID() itemDict['Count'] = itemInfo.GetCount() - itemDict['IsAuctionItem'] = 0 if itemInfo.GetIsBind() else 1 + itemDict['IsAuctionItem'] = ItemControler.GetIsAuctionItem(itemInfo) #itemDict['IsSuite'] = int(itemInfo.GetIsSuite()) itemDict['UserData'] = itemInfo.GetUserData() jsonItemList.append(itemDict) -- Gitblit v1.8.0