From 736f0f77848f217db1b3a76693cd8289cb5e03ea Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 28 八月 2025 19:16:28 +0800
Subject: [PATCH] 16 卡牌服务端(功能开启删除不需要字段;支持任务开启功能;)
---
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