hxp
2024-05-16 840e8d090c583e67cb0ac15ce335b1d11165f3b2
10133 【后端】境界修改(修复渡劫无法领取过关条件奖励bug)
2个文件已修改
13 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
@@ -167,6 +167,15 @@
        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):
    # 可否进入副本通用检查, 扫荡通用
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -34,6 +34,7 @@
import DataRecordPack
import SkillCommon
import PlayerTask
import FBCommon
import time
#------------------------------------------------------------------------------
@@ -223,8 +224,7 @@
        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()