9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(修复多给膜拜奖励bug)
1个文件已修改
3 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py
@@ -208,6 +208,9 @@
        worshipDouble = dataMsg.get("worshipDouble", 0)
        if GameWorld.CheckTimeIsSameServerDayEx(worshipTime):
            worshipCountToday = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Championship_WorshipCount) + 1
            worshipCountMax = IpyGameDataPY.GetFuncCfg("CrossChamWorship", 1)
            if worshipCountToday > worshipCountMax:
                return
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Championship_WorshipCount, worshipCountToday)
            GameWorld.DebugLog("更新膜拜次数! worshipCountToday=%s" % worshipCountToday, playerID)
            Sync_ChampionshipPlayerInfo(curPlayer)