From b5f19a5873d41db3d493cc3777d0f804f029fcb3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 30 九月 2022 14:17:23 +0800 Subject: [PATCH] 9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(修复多给膜拜奖励bug) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py index 8a6f33b..0365b79 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py +++ b/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) -- Gitblit v1.8.0