From 585f6a26f7059bf0d2da81f716ae6be772ecfb0b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 17 三月 2026 11:22:37 +0800
Subject: [PATCH] 404 新增 改名卡(非首次改名时优先消耗改名卡,不足时消耗原配置货币消耗;)
---
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