From ea303d9a6b65f4a84a31214ed8770f6839339b7d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 17 十一月 2025 11:39:22 +0800
Subject: [PATCH] 332 【主界面】座骑系统-服务端(坐骑外观最大ID支持到999)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   51 +++++++++++++++++++++++++++++----------------------
 1 files changed, 29 insertions(+), 22 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index ee41b3f..cf12465 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -915,7 +915,7 @@
 (
 HurtType_Fail,              # 失败 - 如概率没有触发 0
 HurtType_Normal,            # 伤害 1
-HurtTYpe_Recovery,          # 回血 2
+HurtTYpe_Cure,              # 治疗 2
 HurtType_3,
 HurtType_Immune,            # 免疫 4
 HurtType_Parry,             # 格挡 5
@@ -926,7 +926,8 @@
 HurtType_PoisonCureHurt,    # 伤害毒奶 10
 HurtType_PoisonCureSuck,    # 吸血毒奶 11
 HurtType_HarmSelf,          # 自残 12
-) = range(13)
+HurtType_CaorenProtect,     # 本次伤害有受曹仁防护标记 13
+) = range(14)
 
 #伤害类型
 (
@@ -1448,7 +1449,7 @@
    Def_SkillType_Passive      ,  #被动技能(与被动BUFF无直接关系)   7
    Def_SkillType_Revive       ,  #复活     8
    Def_SkillType_Increment    ,  #增值技能(不可清除)9  
-   Def_SkillType_Aura         ,  #光环技能  10
+   Def_SkillType_Halo         ,  #光环技能  10
    Def_SkillType_Equip        ,  #装备技能  11
    Def_SkillType_Area         ,  #场景技能(buff)  12
    Def_SkillType_Summon       ,  #召唤  13
@@ -1457,6 +1458,7 @@
 ) = range(0, 1 + 15)
 
 # 以下废弃
+Def_SkillType_Aura = 10 #光环技能,旧命名  10
 (
    Def_SkillType_LstPlsBuffAtk,  #持续攻击类BUFF 15
    Def_SkillType_PassivePlsBuff,  #被动触发增益类buff 16
@@ -1532,6 +1534,10 @@
 Def_BuffLayer_Add = 0   # 每次触发层级递增
 Def_BuffLayer_Sub = 1   # 每次触发层级递减
 
+# Buff时间计算规则
+#【注】光环类buff默认与光源(施法者)同步,其他受光环影响的目标同步该buff持续时间,持续时间及效果由施法者决定
+BuffLastTimeType_Default = 0 # 默认以获得buff时自身回合前后判断
+BuffLastTimeType_BigTurn = 1 # 大回合buff,每大回合开始固定减1回合
 
 #动作类区分标识
 (
@@ -2865,7 +2871,9 @@
 TurnBattleType_Pursue, # 追击 3
 TurnBattleType_Enhance, # 额外技能(一般是主技能拆分为多个效果的技能) 4
 TurnBattleType_Passive, # 被动触发的技能 5
-) = range(6)
+TurnBattleType_Dot, # 持续伤害触发 6
+TurnBattleType_Cot, # 持续治疗触发 7
+) = range(8)
 
 Def_PerTurnTick = 1000 # 每回合等同于常规tick时长
 
@@ -2971,7 +2979,9 @@
     BatObjState_RebornLimit, # 无法复活 25
     BatObjState_26, # 脆弱 26
     BatObjState_27, # 阴咒 27
-) = range(1 + 27)
+    BatObjState_Zhiming, # 织命(甄宓) 28
+    BatObjState_Link, # 链接(董白) 29
+) = range(1 + 29)
 
 #玩家状态定义,不能超过31个,如超过,需扩展多个key支持
 Def_PlayerStateList = (
@@ -3670,11 +3680,9 @@
 Def_PDict_LastEnterFBTick = "LastEnterFBTick_%s"  # 上次进入副本的时间%s副本id
 
 # 投资理财
-Def_PDict_InvestTime = "InvestTime_%s"  # 投资时的时间,参数为投资类型
-Def_PDict_InvestProgress = "InvestProgress_%s_%s"  # 投资可领奖进度值,参数为(投资类型, key编号)
-Def_PDict_InvestReward = "InvestReward_%s_%s"  # 投资领奖记录,参数为(投资类型, key编号)
-Def_PDict_InvestRewardTime = "InvestRewardTime_%s"  # 投资最后一次领奖时间,参数为(投资类型)
-Def_PDict_InvestKeyCount = 3 # key编号数
+Def_PDict_InvestTime = "InvestTime_%s"  # 投资时的时间,参数(投资类型)
+Def_PDict_InvestEndTime = "InvestEndTime_%s"  # 投资到期时间,参数(投资类型)
+Def_PDict_InvestRewardTime = "InvestRewardTime_%s"  # 投资最后一次领奖时间,参数(投资类型)
 
 # 成就 Def_PDictType_Success
 Def_PDict_SuccessValue = "Succ_%s_%s" # 当前次数值,参数(成就类型、条件)
@@ -3829,7 +3837,7 @@
 
 #主线
 Def_PDict_UnXiantaoCntExp = "UnXiantaoCntExp" # 累计未结算经验的战锤数
-Def_PDict_UnXiantaoCntEquip = "UnXiantaoCntEquip" # 累计未结算装备掉落的战锤数,有3位小数,即 1234 实际为 1.234
+Def_PDict_UnXiantaoCntEquip = "UnXiantaoCntEquip" # 累计未结算装备掉落的战锤数
 Def_PDict_UnXiantaoCntBooty = "UnXiantaoCntBooty_%s" # 累计未结算战利品掉落的战锤数,参数(itemID)
 Def_PDict_BootyDropToday = "BootyDropToday_%s" # 今日已累计掉落战利品数量,参数(itemID)
 Def_PDict_AppointDropEquipCnt = "AppointDropEquipCnt" # 定制掉落装备掉落第x次,只记录到配置的最高次数
@@ -4168,7 +4176,7 @@
 Def_Cost_UseSpeaker, # 喇叭发言
 Def_Cost_Revive, # 复活
 Def_Cost_5, # 副本鼓舞 5
-Def_Cost_GoldInvest, # 理财投资
+Def_Cost_6, # 理财投资
 Def_Cost_Pray, # 祈祷
 Def_Cost_8, # 资源找回
 Def_Cost_BuyVIPItem, # 购买VIP礼包
@@ -4253,7 +4261,6 @@
 
 # 有分消费对象子类的
 Def_Cost_BuyVIPItem:"BuyVIPItem",
-Def_Cost_GoldInvest:"GoldInvest",
 Def_Cost_Pray:"Pray",
 Def_Cost_Treasure:"Treasure",
 Def_Cost_OpenNoble:"OpenNoble",
@@ -4328,7 +4335,7 @@
 Def_GiveMoney_UseItem, # 使用物品
 Def_GiveMoney_Pickup, # 拾取
 Def_GiveMoney_Bourse, # 交易所 10
-Def_GiveMoney_GoldInvest, # 绑钻投资
+Def_GiveMoney_11, # 绑钻投资
 Def_GiveMoney_12, # 资源找回
 Def_GiveMoney_13, # 红包
 Def_GiveMoney_RefineGift, # 炼制奖励
@@ -4366,7 +4373,6 @@
 Def_GiveMoney_UseItem:"UseItem",
 Def_GiveMoney_Pickup:"Pickup",
 Def_GiveMoney_Bourse:"Bourse",
-Def_GiveMoney_GoldInvest:"GoldInvest",
 Def_GiveMoney_RefineGift:"RefineGift",
 Def_GiveMoney_Mail:"Mail",
 Def_GiveMoney_RuneDecompose:"RuneDecompose",
@@ -4702,6 +4708,11 @@
 HeroSpecialty_SuckHP,       # 吸血 6
 ) = range(1, 1 + 6)
 
+# 部分武将ID
+HeroID_Zhenfu = 510013
+HeroID_Caoren = 510015
+HeroID_Dongbai = 540009
+
 # 经验倍率限制类型
 (
 ExpRateLimitType_Recover, # 资源找回
@@ -4710,13 +4721,9 @@
 
 # 投资理财类型,和前端对应,从7开始
 InvestTypeList = (
-InvestType_NewMonth, # 至尊月卡投资7
-InvestType_Month1, # 新30元月卡投资8
-InvestType_Login, # 登录 9
-InvestType_LV, # 等级 10
-InvestType_Boss, # Boss 11
-InvestType_Life, # 终身卡 12
-) = range(7, 7 + 6)
+InvestType_Month, # 月卡 1
+InvestType_Life, # 终身卡 2
+) = range(1, 1 + 2)
 
 (
 tttLeaveMap, # 退出倒计时 0

--
Gitblit v1.8.0