From 26958aff1b844a743a805b4f9075bee800b72a46 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 04 十一月 2025 14:35:37 +0800
Subject: [PATCH] 332 【主界面】座骑系统-服务端

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   63 ++++++++-----------------------
 1 files changed, 17 insertions(+), 46 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index c941776..05f514c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -166,7 +166,9 @@
 AttrID_PursueDamPerDef,                     # 追击减伤 68
 AttrID_ComboDamPer,                         # 连击增伤 69
 AttrID_ComboDamPerDef,                      # 连击减伤 70
-) = range(1, 1 + 70)
+AttrID_ArenaDamPer,                         # 竞技增伤 71
+AttrID_ArenaDamPerDef,                      # 竞技减伤 72
+) = range(1, 1 + 72)
 
 # 需要计算的武将战斗属性ID列表
 CalcBattleAttrIDList = [AttrID_Atk, AttrID_Def, AttrID_MaxHP, AttrID_StunRate, AttrID_StunRateDef, 
@@ -180,7 +182,7 @@
                         AttrID_WeiFinalDamPer, AttrID_WeiFinalDamPerDef, AttrID_ShuFinalDamPer, AttrID_ShuFinalDamPerDef,
                         AttrID_WuFinalDamPer, AttrID_WuFinalDamPerDef, AttrID_QunFinalDamPer, AttrID_QunFinalDamPerDef,
                         AttrID_SkillPer, AttrID_SkillPerDef, AttrID_PursueDamPer, AttrID_PursueDamPerDef,
-                        AttrID_ComboDamPer, AttrID_ComboDamPerDef, AttrID_XPRecoverPer,
+                        AttrID_ComboDamPer, AttrID_ComboDamPerDef, AttrID_XPRecoverPer, AttrID_ArenaDamPer, AttrID_ArenaDamPerDef
                         ]
 
 # 基础三维属性ID列表
@@ -216,7 +218,8 @@
 Def_CalcAttr_Realm, # 官职 3
 Def_CalcAttr_Gubao, # 古宝 4
 Def_CalcAttr_HJG, # 幻境阁 5
-) = range(6)
+Def_CalcAttr_Horse, # 坐骑 6
+) = range(7)
 
 CalcAttrName = {
                 Def_CalcAttr_LV:"主公等级",
@@ -225,6 +228,7 @@
                 Def_CalcAttr_Realm:"官职",
                 Def_CalcAttr_Gubao:"古宝",
                 Def_CalcAttr_HJG:"幻境阁",
+                Def_CalcAttr_Horse:"坐骑",
                 }
 
 ##-----------------------------------------------------------------------------------------------
@@ -508,9 +512,6 @@
 Def_ItemType_MissionItem = 17      #任务物品
 Def_ItemType_TransMissionItem = 18      #转职任务物品
 Def_ItemType_RealmStuff = 19      #头衔(境界)升级道具
-Def_ItemType_HorseStuff = 21      #坐骑丹
-Def_ItemType_HorseSoul = 22      #坐骑兽魂
-Def_ItemType_HorseBook = 23      #坐骑技能书
 Def_ItemType_Mine = 24      #矿藏资源
 Def_ItemType_Stone = 25            #宝石
 Def_ItemType_PetItem = 26         #灵宠碎片(宠物)
@@ -580,9 +581,6 @@
 Def_ItemType_CanUseByCDTime = 145 # 创建后根据CDTime到后可开启
 
 Def_ItemType_Hero = 150 # 武将英雄
-
-#以下定义物品类型下次删除
-Def_Item_Type_Horse = 1000036          #坐骑
 
 #虚拟背包最大格子数 功能配置表对应的key
 Def_VPackCnt_Dict = {
@@ -660,7 +658,7 @@
 Def_Effect_ItemGiveWeekPartyPoint1 = 246      #使用道具给予节日巡礼积分
 Def_Effect_AddRealmExpRate = 251 #增加聚灵效率
 Def_Effect_TouchMission = 252 #触发任务
-Def_Effect_HorsePetSkinExp = 253 #骑宠觉醒值
+#253 #骑宠觉醒值
 Def_Effect_ItemGiveTreasureScore = 254      #使用道具给予寻宝积分
 Def_Effect_VIPLVCard = 256    #VIP等级直升卡 直接升到VIPx级,只加经验,享受VIP特权    效果值A: vip等级    效果值B: 领取是否默认直接使用
 Def_Effect_AddArenaBattleCount = 257    #增加竞技场挑战次数,A值为增加次数
@@ -761,8 +759,6 @@
 Def_Effect_Add_FreePoint_3 = 1185
 #鱼竿
 Def_Item_Effect_FishTool = 2000
-#坐骑进阶
-Def_Item_Eff_HorseUpdate = 2819
 #官爵进阶
 Def_Item_Eff_OfficialRankUpdate = 2820
 #物品使用阶级
@@ -934,7 +930,6 @@
 Def_SkillID_TianxuanBuff = 5100   # 天玄丹特殊掉落buff
 Def_SkillID_PetSignDay = 47111   # 灵宠签到属性技能, 单次签到的加成
 Def_SkillID_LFZ = 47100   # 龙凤镯技能(打怪概率经验加成)
-Def_SkillID_HorsePetRobBossKillCntBuff = 21020   # 骑宠的怨念buff
 Def_SkillID_RealmBuff = 6100   # 境界经验buff
 
 Def_SkillID_LXHY_AddExpRate = 47113 # 流星火雨杀死的怪增加经验
@@ -1745,8 +1740,6 @@
 #---------------------进度条------------------------
 #挖宝进度条时间为5秒
 Def_DigMaxTime = 5000
-#上马进度条时间为0秒
-Def_RidehorseTime = 1
 #回城卷进度条时间为10秒
 #Def_TownPortalTime = 10000
 #捕捉宠物进度条时间为60秒
@@ -3110,7 +3103,6 @@
 Def_PlayerKey_Frist_Lock = "Frist_Lock"  # 是否接受了任务1
 Def_PlayerKey_TaskExpRewardMultiple = "TaskExpRewardMultiple"  # 任务经验奖励倍值
 Def_PlayerKey_BuyItemCnt = "BuyItemCnt"  # 购买物品数量
-Def_PlayerKey_SpeedHorse = "SpeedHorse"  # 骑乘时附加移动速度值
 Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState"  # 查询开服奖励状态
 
 Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex'  # 指定账号生成卡类型
@@ -3172,22 +3164,14 @@
 (
 Def_PDictType_Default,  # 默认
 Def_PDictType_FlashSale, #限时抢购
-Def_PDictType_TJGNotify,  # 脱机挂结果通知
 Def_PDictType_LVAward,  # 等级奖励领取信息记录
-Def_PDictType_4,  # 开服活动
 Def_PDictType_WeekParty, #周狂欢
 Def_PDictType_FeastWeekParty,    # 节日巡礼
 Def_PDictType_LoginAward,    # 登录奖励运营活动
-Def_PDictType_Horse,    # 坐骑
 Def_PDictType_FB,    # 副本相关
-Def_PDictType_FightPower,    # 战斗力
-Def_PDictType_GoldInvest,    # 投资理财
-Def_PDictType_Success,   #成就
-Def_PDictType_GFPassive, # 被动功法
-Def_PDictType_GreatMaster, # 大师
 Def_PDictType_FlashSaleMix, #限时抢购 合服
 Def_PDictType_FlashSaleFeast, #限时抢购 节日
-) = range(17)
+) = range(9)
 
 # 玩家字典key定义规则, key的长度不能超过29个字节, 注意尽量避免命名重复
 # 新增参数TYPE 用于字典分类,默认0
@@ -3711,17 +3695,12 @@
 Def_PDict_LianTiEatItemCount = "LianTiEatItemCount"  # 当前级已吃丹个数
 
 # 坐骑
-Def_PDict_HorserLV = "HorserLV"  # 坐骑等级
-Def_PDict_HorserStar = "HorserStar_%s"  # 坐骑星级,参数(坐骑ID)
-Def_PDict_HorserEatItemCount = "HorserEatItemCount"  # 当前阶已吃培养丹个数
-Def_PDict_HorserSkinPlusState = "HorserSkinPlusState%s"  # 坐骑幻化皮肤激活状态,按二进制位存储,每位代表幻化ID是否已激活,支持多值
-Def_PDict_HorserSkinEndTime = "HorserSkinEndTime_%s"  # 坐骑幻化皮肤激活结束时间戳,仅针对非永久的幻化皮肤
-Def_PDict_HorserTrainLV = "HorserTrainLV_%s"  # 坐骑培养等阶,参数(培养类型)
-Def_PDict_HorserTrainItemCount = "HorserTrainItemCount_%s"  # 坐骑培养当前阶已吃培养丹个数,参数(培养类型)
-
-#骑宠觉醒
-Def_PDict_HorsePetSkinData = "HorsePetSkinData%d_%s"  #觉醒等级*100+外观索引  参数(类型,关联ID) 1-坐骑 2-灵宠
-Def_PDict_HorsePetSkinExp = "HorsePetSkinExp%d_%s"  #经验  参数(类型,关联ID) 1-坐骑 2-灵宠
+Def_PDict_HorseClassLV = "HorseClassLV"  # 坐骑阶级
+Def_PDict_HorseLV = "HorseLV"  # 坐骑阶等级
+Def_PDict_HorseExp = "HorseExp"  # 坐骑阶等级经验
+Def_PDict_HorseSkinState = "HorseSkinState_%s"  # 坐骑外观状态,参数(key编号)
+Def_PDict_HorseSkinEndTime = "HorseSkinEndTime_%s"  # 坐骑外观到期时间戳,0为永久,参数(外观ID)
+Def_PDict_HorseSkinStar = "HorseSkinStar_%s"  # 坐骑外观星级,参数(外观ID)
 
 # 符印
 Def_PDict_Rune_HoleOpenState = "Rune_HoleOpenState"  # 符印解锁状态
@@ -3730,14 +3709,6 @@
 # 副本 Def_PDictType_FB
 Def_PDict_LastEnterFBPropertyID = "LastEnterFBPropertyID_%s"  # 上次进入副本的propertyID%s副本id
 Def_PDict_LastEnterFBTick = "LastEnterFBTick_%s"  # 上次进入副本的时间%s副本id
-
-# 战斗力 Def_PDictType_FightPower
-Def_PDict_FightPower_Highest = "FightPower_Highest"  # 历史最高总战斗力
-Def_PDict_FightPower_HighestEx = "FightPower_HighestEx"  # 历史最高总战斗力
-Def_PDict_FightPower_Total = "FightPower_Total"  # 总战斗力
-Def_PDict_FightPower_TotalEx = "FightPower_TotalEx"  # 总战斗力
-
-Def_PDict_FightPower_List = [Def_PDict_FightPower_Total, Def_PDict_FightPower_TotalEx]
 
 # 投资理财
 Def_PDict_InvestTime = "InvestTime_%s"  # 投资时的时间,参数为投资类型
@@ -4981,14 +4952,14 @@
 Def_WPAct_CrossPK, #跨服pk 11
 Def_WPAct_Recharge, #充值X仙玉 12
 Def_WPAct_GiftBag,  #购买限时礼包 13
-Def_WPAct_HorsePetBoss, #骑宠争夺 14
+Def_WPAct_14, #骑宠争夺 14
 Def_WPAct_SWRH, #守卫人皇 15
 Def_WPAct_ElderBattlefield, #上古战场 16
 Def_WPAct_ChaosDemon, #混乱妖域 17
 Def_WPAct_XMZZ, #仙魔之争 18
 Def_WPAct_FamilyWar,  #仙魔联赛 19
 Def_WPAct_Login,  #每日登录 20
-Def_WPAct_Horse,  #激活某只坐骑 21
+Def_WPAct_21,  #激活某只坐骑 21
 Def_WPAct_Pet,  #激活某只灵宠 22
 Def_WPAct_Dogz,  #出战某只神兽 23
 Def_WPAct_Stone,  #宝石总等级 24

--
Gitblit v1.8.0