From a8d7a24ed0d2b062887927bedafe8e9febfacc4e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 14 十月 2025 18:06:23 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(演武场无法请求战斗问题)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py
index e2df3ab..0b1393d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py
@@ -25,6 +25,7 @@
 import PlayerZhanling
 import ItemControler
 import PlayerArena
+import PlayerGubao
 import PyGameData
 import FBCommon
 import ChConfig
@@ -37,8 +38,8 @@
     '''
     playerID = curPlayer.GetPlayerID()
     matchIDList = PyGameData.g_arenaPlayerMatchDict.get(playerID, [])
-    #if tagPlayerID in matchIDList:
-    #    return matchIDList.index(tagPlayerID)
+    if tagPlayerID in matchIDList:
+        return matchIDList.index(tagPlayerID)
     
     gameRecMgr = DBDataMgr.GetGameRecMgr()
     atkRecMgr = gameRecMgr.GetRecTypeIDMgr(ShareDefine.Def_GameRecType_ArenaRecord, playerID)
@@ -140,6 +141,7 @@
     PlayerArena.DoArenaMatchRefresh(curPlayer, True, isSys=True)
     
     PlayerZhanling.AddZhanlingValue(curPlayer, PlayerZhanling.ZhanlingType_ArenaCnt, 1)
+    PlayerGubao.AddGubaoSpecEffLayer(curPlayer, PlayerGubao.GubaoEffType_Arena, 1)
     return
 
 def __updArenaBatRecord(curPlayer, turnFight, tagPlayerID, isWin, atkAddScore, defDecScore):

--
Gitblit v1.8.0