From 23876f36a929f7e8f1fe94ae543b03bc24a61f1e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 25 二月 2025 20:24:08 +0800
Subject: [PATCH] 10263 【越南】【英文】【BT】【GM】【砍树】后端支持NPC仿真实玩家战斗和快速战斗(镜像回收时同步清除地图中缓存的镜像被动buff效果;)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
index edc8d7a..e6ea1da 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -80,6 +80,7 @@
 import CrossActAllRecharge
 import PlayerActGubao
 import PlayerActHorsePetTrain
+import PlayerActLianqi
 import PlayerActXianXiaMJ
 import PlayerActBossTrial
 import PlayerActFamilyCTGAssist
@@ -714,6 +715,14 @@
         PlayerActHorsePetTrain.MapServer_HorsePetTrain(curPlayer, eval(resultName))
         return
     
+    # 炼器
+    if callName == "ActLianqi":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        PlayerActLianqi.MapServer_Lianqi(curPlayer, eval(resultName))
+        return
+    
     #py喇叭聊天
     if callName == 'PYSpeaker':
         curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
@@ -1033,10 +1042,7 @@
     
     # 竞技场
     if callName == "Arena":
-        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
-        if not curPlayer:
-            return
-        ret = GameWorldArena.MapServer_Arena(curPlayer, eval(resultName))
+        ret = GameWorldArena.MapServer_Arena(srcPlayerID, eval(resultName))
         resultName = '%s' % ret if ret != None else '' # 需要重置间隔,每次都回复
         
     # 仙盟充值互助

--
Gitblit v1.8.0