From 17ebbfe89b8d70b008b589079773b8bf39abddc1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 11 二月 2026 12:05:03 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(跨服中心未分配互通公会分区时也要通知最新热更配置信息;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 25fab78..aff7785 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -44,6 +44,7 @@
import IpyGameDataPY
import PyGameData
import OpenServerActivity
+import PlayerActLunhuidian
import PlayerActivity
import ChNetSendPack
import PlayerState
@@ -2675,7 +2676,8 @@
elif type_Price == IPY_GameWorld.TYPE_Price_Silver_Paper:
__PayMoneyAfterBySilverPaper(curPlayer, price)
- if type_Price == ShareDefine.TYPE_Price_Xiantao:
+ # 仅算使用技能的
+ if type_Price == ShareDefine.TYPE_Price_Xiantao and costType == "UseSkill":
# 累加未结算战锤 - 经验
unXiantaoCntExp = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_UnXiantaoCntExp)
NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_UnXiantaoCntExp, unXiantaoCntExp + price)
@@ -2700,6 +2702,11 @@
TurnAttack.GetMainFightMgr(curPlayer).useZhanchui += price
+ # 除GM扣除的以外
+ if costType != ChConfig.Def_Cost_GM:
+ #轮回殿
+ PlayerActLunhuidian.AddLunhuidianValue(curPlayer, PlayerActLunhuidian.AwardType_PayMoney, type_Price, price)
+
unitPrice = price if quantity == 1 else int(math.ceil(price * 1.0 / quantity)) # 单价
#reason_name = "Unknown" if not costType else costType
reason_name = costType
--
Gitblit v1.8.0