From 849f499eceec264b1abd0bae174f7b7a10b99433 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 27 一月 2026 19:39:35 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(战斗初始化同步命格PosNum=99)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
index 90ef549..4c5ce76 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
@@ -25,6 +25,7 @@
 import PlayerGoldInvest
 import PlayerViewCache
 import NetPackCommon
+import TurnAttack
 import PyGameData
 import GameWorld
 import ChConfig
@@ -414,13 +415,14 @@
         matchInfo = ChPyNetSendPack.tagSCArenaMatchInfo()
         matchInfo.PlayerID = matchID
         if viewCache:
+            fightPower = TurnAttack.GetCacheLineupFightPower(viewCache, ShareDefine.BatPreset_ArenaDef)
             matchInfo.PlayerName = viewCache.GetPlayerName()
             matchInfo.RealmLV = viewCache.GetRealmLV()
             matchInfo.LV = viewCache.GetLV()
             matchInfo.Face = viewCache.GetFace()
             matchInfo.FacePic = viewCache.GetFacePic()
-            matchInfo.FightPower = viewCache.GetFightPower()
-            matchInfo.FightPowerEx = viewCache.GetFightPowerEx()
+            matchInfo.FightPower = fightPower % ChConfig.Def_PerPointValue
+            matchInfo.FightPowerEx = fightPower / ChConfig.Def_PerPointValue
             matchInfo.TitleID = viewCache.GetTitleID()
         else:
             matchInfo.PlayerName = "p%s" % matchID

--
Gitblit v1.8.0