9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(修复多给膜拜奖励bug)
| | |
| | | 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)
|