From 726517b2002ec6dd46e07f89c10fdfe0274243af Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 04 九月 2025 19:47:26 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(修复buff报错;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py | 9 +-------- 1 files changed, 1 insertions(+), 8 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..2c65b4a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py @@ -29,12 +29,10 @@ import PyGameData import GameFuncComm import PlayerPet -import PlayerVip import datetime import time import FormulaControl import PlayerBossReborn -import PlayerActGarbageSorting import PlayerTongTianLing import PlayerActTask import PlayerSuccess @@ -310,10 +308,9 @@ curTotalPoint = __GetPDictValue(curPlayer, ChConfig.Def_PDict_Activity_TotalPoint) __SetPDictValue(curPlayer, ChConfig.Def_PDict_Activity_TotalPoint, curTotalPoint + addValue) __AddCanCostActivityPoint(curPlayer, addValue, isLVUp) - 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 +585,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: @@ -952,7 +946,6 @@ GameWorld.DebugLog("领取活跃放置奖励: totalCount=%s,rewardCount=%s,rewardItemCount=%s,rewardItemList=%s" % (totalCount, rewardCount, rewardItemCount, rewardItemList)) ItemControler.GivePlayerItemOrMail(curPlayer, rewardItemList, event=["ActivityPlace", False, {}]) - PlayerActGarbageSorting.AddActGarbageTaskProgress(curPlayer, ChConfig.Def_GarbageTask_ActivityPlace, rewardCount) PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_ActivityPlace, rewardCount) PlayerGubao.AddGubaoItemEffValue(curPlayer, PlayerGubao.GubaoEffType_ActivityPlace, rewardCount) -- Gitblit v1.8.0