From 367fd9c77f82b2c7960dc9281c270e550d3ecbb0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 30 一月 2026 15:23:37 +0800
Subject: [PATCH] 438 【方案】方案预设-服务端(修复当前流派子方案切换时如切武将方案,定军阁进攻武将不会刷新的bug;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py |    5 ++---
 1 files changed, 2 insertions(+), 3 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 c297ea6..39bf514 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -25,7 +25,6 @@
 import IpyGameDataPY
 import GameWorld
 import DBDataMgr
-import ObjPool
 
 def OnDay(curPlayer):
     CheckResetWeekActivity(curPlayer)
@@ -166,7 +165,7 @@
     return
 
 def SyncDailyTaskInfo(curPlayer, taskType=0, conds=[], isAll=False):
-    clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCDailyTaskInfo)
+    clientPack = ChPyNetSendPack.tagSCDailyTaskInfo()
     clientPack.ActivityTotal = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ActivityTotal)
     clientPack.ActivityAward = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ActivityAward)
     clientPack.DailyTaskState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_DailyTaskState)
@@ -186,7 +185,7 @@
         
     clientPack.TaskList = []
     for taskType, conds in syncTaskCondList:
-        task = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCDailyTask)
+        task = ChPyNetSendPack.tagSCDailyTask()
         task.TaskType = taskType
         task.Conds = conds
         task.CLen = len(task.Conds)

--
Gitblit v1.8.0