hch
2 天以前 35d98e9c630fd4408561c8c54b4c09193bb9ce9e
0312 修改服务端补主线进度通知
1个文件已修改
8 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -1484,6 +1484,12 @@
    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)
        return
@@ -1606,8 +1612,6 @@
        GameWorld.DebugLogEx("没有设置主阵容!", playerID)
        return
    
    # 开始时补通知一次当前关卡进度, 原因:前端播放战报关卡进度吞包刷新问题
    PlayerControl.SetMainLevelNowValue(curPlayer, PlayerControl.GetMainLevelNowValue(curPlayer))
    
    strongerLV = levelIpyData.GetNPCLV()
    difficulty = levelIpyData.GetDifficulty()