From bd9dce2d66b5086712596b8dac6d9116be65bafd Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 十二月 2025 16:53:47 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(去除常规功能封包对象池使用;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerLLMJ.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerLLMJ.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerLLMJ.py
index cec5841..238cd35 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerLLMJ.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerLLMJ.py
@@ -21,7 +21,6 @@
import ChPyNetSendPack
import PlayerControl
import GameWorld
-import ObjPool
def OnPlayerLogin(curPlayer):
if not curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_LLMJLVInfo):
@@ -143,7 +142,7 @@
def SyncLLMJInfo(curPlayer):
mjLV, zhanchui = GetMJLVInfo(curPlayer)
- clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCLLMJInfo)
+ clientPack = ChPyNetSendPack.tagSCLLMJInfo()
clientPack.MJLV = mjLV
clientPack.Zhanchui = zhanchui
clientPack.ExpEx = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_LLMJExp)
--
Gitblit v1.8.0