From eae877b5a46fd8ae4ba36c80010d93fb6fec4d32 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 25 八月 2025 20:14:14 +0800 Subject: [PATCH] 110 【主界面】仙树升级-服务端(增加每日免费减时支持;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py index 5c8f699..b4f163d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py @@ -301,14 +301,14 @@ RefreshDogzAttr(curPlayer, True) PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState() - if isFight and ipyData.GetHelpBattleNotify(): - curTime = int(time.time()) - playerName = curPlayer.GetPlayerName() - notifyKey, notifyParamList, notifyCD = ipyData.GetHelpBattleNotify() - lastNotifyTime = g_helpBattleNotifyTimeDict.get(dogzID, 0) - if curTime - lastNotifyTime >= notifyCD * 60: - PlayerControl.WorldNotify(0, notifyKey, [playerName] + notifyParamList) - g_helpBattleNotifyTimeDict[dogzID] = curTime + #if isFight and ipyData.GetHelpBattleNotify(): + # curTime = int(time.time()) + # playerName = curPlayer.GetPlayerName() + # notifyKey, notifyParamList, notifyCD = ipyData.GetHelpBattleNotify() + # lastNotifyTime = g_helpBattleNotifyTimeDict.get(dogzID, 0) + # if curTime - lastNotifyTime >= notifyCD * 60: + # PlayerControl.WorldNotify(0, notifyKey, [playerName] + notifyParamList) + # g_helpBattleNotifyTimeDict[dogzID] = curTime return -- Gitblit v1.8.0