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/PlayerActivity.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py index fd4f707..47c3bd6 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py @@ -29,7 +29,6 @@ import PyGameData import GameFuncComm import PlayerPet -import PlayerVip import datetime import time import FormulaControl @@ -313,7 +312,7 @@ PlayerActGarbageSorting.AddActGarbageTaskProgress(curPlayer, ChConfig.Def_GarbageTask_Activity, addValue) PlayerTongTianLing.AddTongTianTaskValue(curPlayer, ChConfig.TTLTaskType_Activity, addValue) PlayerActTask.AddActTaskValue(curPlayer, ChConfig.ActTaskType_Activity, addValue) - PlayerControl.NotifyCode(curPlayer, "GetActivity", [addValue]) + #PlayerControl.NotifyCode(curPlayer, "GetActivity", [addValue]) SyncDailyActivityInfo(curPlayer) GameWorld.DebugLog("增加活跃度,addValue=%s,multiple=%s,addExtraPoint=%s,isLVUp=%s" % (addValue, multiple, addExtraPoint, isLVUp), curPlayer.GetPlayerID()) @@ -588,9 +587,6 @@ if addType == 0: dayBuyTimesLimit = ipyData.GetDayBuyTimes() - buyTimesPrivilegeID = ipyData.GetBuyTimesPrivilegeID() - vipBuyCountEx = PlayerVip.GetPrivilegeValue(curPlayer, buyTimesPrivilegeID) - dayBuyTimesLimit += vipBuyCountEx moneyType = ipyData.GetMoneyType() buyNeedMoneyList = ipyData.GetBuyNeedMoney() if not dayBuyTimesLimit or not buyNeedMoneyList: -- Gitblit v1.8.0