10133 【后端】境界修改(修复渡劫无法领取过关条件奖励bug)
| | |
| | | return
|
| | | return dayStr in PyGameData.FBOpenTimeRecord[dataMapID]
|
| | |
|
| | | def IsFBPass(curPlayer, mapID, lineID):
|
| | | ## 副本线路是否已过关
|
| | | passLineID = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FBPassLineID % mapID)
|
| | | if passLineID >= lineID:
|
| | | return True
|
| | | grade = GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, False, [mapID])
|
| | | if grade:
|
| | | return True
|
| | | return False
|
| | |
|
| | | def CheckCanEnterFBComm(curPlayer, mapID, lineID, fbIpyData, fbLineIpyData, reqEnterCnt=1, isNotify=True, isTeamAsk=False):
|
| | | # 可否进入副本通用检查, 扫荡通用
|
| | |
| | | import DataRecordPack
|
| | | import SkillCommon
|
| | | import PlayerTask
|
| | | import FBCommon
|
| | |
|
| | | import time
|
| | | #------------------------------------------------------------------------------
|
| | |
| | | if not NeedPassMap or len(NeedPassMap) != 2:
|
| | | return
|
| | | mapID, lineID = NeedPassMap
|
| | | grade = GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, False, [mapID])
|
| | | if not grade:
|
| | | if not FBCommon.IsFBPass(curPlayer, mapID, lineID):
|
| | | GameWorld.DebugLog('境界渡劫条件领奖,副本未过关! curRealmLV=%s,mapID=%s,lineID=%s' % (curRealmLV, mapID, lineID))
|
| | | return
|
| | | awardItemInfo = realmIpyData.GetPassMapAwardItem()
|