hxp
2026-02-26 5d79b486b2974522c2d1978dc90c3081827224e0
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
@@ -3952,12 +3959,6 @@
    totalExpRate = GetPlayerExpRate(curPlayer)
    fightExpRate = curPlayer.GetFightExpRate() # 系统及功能累加
    
    actExpRateInfo = PyGameData.g_operationActionDict.get(ShareDefine.OperationActionName_ExpRate, {})# 多倍经验活动加成
    if actExpRateInfo.get(ShareDefine.ActKey_State):
        actExpIpyData = IpyGameDataPY.GetIpyGameData("ActExpRate", actExpRateInfo.get(ShareDefine.ActKey_CfgID))
        if actExpIpyData and curPlayer.GetLV() >= actExpIpyData.GetLVLimit():
            fightExpRate += actExpIpyData.GetAddExpRate()
    #if curPlayer.GetMapID() not in [ChConfig.Def_FBMapID_FamilyInvade]: #守卫人皇不加组队加成
    #    fightExpRate += curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TeamExpRate) # 组队
    
@@ -4531,17 +4532,6 @@
    NetPackCommon.SendFakePack(curPlayer, clientPack)
    return
## 魅力等级
def GetCharmLV(curPlayer): return curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CharmLV)
def SetCharmLV(curPlayer, charmLV):
    NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CharmLV, charmLV)
    SendPropertyRefresh(curPlayer, ShareDefine.CDBPlayerRefresh_CharmLV, charmLV)
    return
def GetTotalLingGenPoint(curPlayer):
    # 总灵根点数(金木水火土+自由点数)
    return 0
# 灵根 - 金木水火土
def GetMetal(curPlayer): return 0
def GetWood(curPlayer): return 0
@@ -4555,9 +4545,6 @@
def GetReduceSkillCDPer(curPlayer): return 0
def SetReduceSkillCDPer(curPlayer, reducePer): return
# 血瓶恢复效果
def GetHPCureEnhance(curPlayer): return 0
# 仙盟职位,使用 GetReceivedSalary,因为FamilyMemberLV没有入库
def GetFamilyMemberLV(curPlayer): return curPlayer.GetReceivedSalary()
def SetFamilyMemberLV(curPlayer, fmLV):
@@ -4565,35 +4552,6 @@
    curPlayer.SetReceivedSalary(fmLV)
    curPlayer.SetFamilyMemberLV(fmLV) # 也同步设置该值,防止有些地方直接调用 curPlayer.GetFamilyMemberLV()
    return
#---当前防护值,需存DB----
def GetProDef(curPlayer): return 0
def SetProDef(curPlayer, value): return
#---最大防护值----
def GetMaxProDef(curPlayer): return 0
def SetMaxProDef(curPlayer, value): return
# 每X秒自动消失一个印记, 毫秒记录
def GetLostYinjiTime(curPlayer): return 0
def SetLostYinjiTime(curPlayer, value): return
# 当前印记数
def GetYinjiCnt(curPlayer): return 0
def SetYinjiCnt(curPlayer, value): return
# 减少指定技能组CD XX%
def GetTheFBSkillsCD(curPlayer): return 0
def SetTheFBSkillsCD(curPlayer, value): return
# 灼烧固定伤害
def GetBurnValue(curPlayer): return 0
def SetBurnValue(curPlayer, value): return
# 延长灼烧时间百分比
def GetBurnTimePer(curPlayer): return 0
def SetBurnTimePer(curPlayer, value): return
# 减移动速度百分比
def GetSubSpeedPer(curPlayer): return 0
def SetSubSpeedPer(curPlayer, value): return
#-------------------------------------------------------------------------------