From 52579926d17e27c3e977a5445416d1a693c4f75c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 15 十月 2025 15:27:46 +0800
Subject: [PATCH] 16 卡牌服务端(同步等级功能ID)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py | 9 +++++++--
1 files changed, 7 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 ec1dd8f..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
@@ -22,8 +22,10 @@
import PlayerControl
import IpyGameDataPY
import PlayerBillboard
+import PlayerZhanling
import ItemControler
import PlayerArena
+import PlayerGubao
import PyGameData
import FBCommon
import ChConfig
@@ -36,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)
@@ -137,6 +139,9 @@
# 战斗结束系统强制刷新匹配
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