hch
2 天以前 35d98e9c630fd4408561c8c54b4c09193bb9ce9e
0312 修改服务端补主线进度通知
1个文件已修改
10 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -1483,6 +1483,12 @@
    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
    reqType = clientData.ReqType
    reqValue = clientData.ReqValue
    # 开始时补通知一次当前关卡进度, 原因:前端播放战报关卡进度吞包刷新问题
    curPlayer.SetExAttr1(PlayerControl.GetMainLevelPassValue(curPlayer), False, False) # 不通知GameServer
    PlayerControl.SetMainLevelNowValue(curPlayer, PlayerControl.GetMainLevelNowValue(curPlayer))
    
    if reqType == 0:
        __doExitMainFight(curPlayer)
@@ -1605,9 +1611,7 @@
    if not lineupMainInfo:
        GameWorld.DebugLogEx("没有设置主阵容!", playerID)
        return
    # 开始时补通知一次当前关卡进度, 原因:前端播放战报关卡进度吞包刷新问题
    PlayerControl.SetMainLevelNowValue(curPlayer, PlayerControl.GetMainLevelNowValue(curPlayer))
    
    strongerLV = levelIpyData.GetNPCLV()
    difficulty = levelIpyData.GetDifficulty()