From ad6a669af7002ce115b322f5f10ad44c7992bb7b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 22 十二月 2025 14:43:09 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(吕玲绮技能,除了突破8潜能; buff持续回合计算增加规则3;技能目标范围增加男女;增加效果6030-掉血保护;5022效果支持配置仅对指定性别有效;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index f3ef64c..7ea8031 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -1339,6 +1339,10 @@
     # @return:  1 ~ 总行数
     return (posNum - 1) / TurnFightCols + 1
 
+# 性别
+BatObjSex_Male = 1 # 男
+BatObjSex_Female = 2 # 女
+
 # 技能目标 - 瞄准范围
 (
 SkillTagAim_All, # 全部 0
@@ -1350,7 +1354,9 @@
 SkillTagAim_MainSkill, # 继承主技能目标 6
 SkillTagAim_MainSkillEx, # 继承主技能目标一次性处理 7
 SkillTagAim_MainSkillFriend, # 继承主技能友军 8
-) = range(9)
+SkillTagAim_Male, # 男性 9
+SkillTagAim_Female, # 女性 10
+) = range(11)
 
 # 技能目标 - 细分
 (
@@ -1551,6 +1557,7 @@
 BuffLastTimeType_Default = 0 # 默认以获得buff时自身回合前后判断
 BuffLastTimeType_BigTurn = 1 # 大回合buff,每大回合开始固定减1回合
 BuffLastTimeType_BigTurnLayer = 2 # 大回合buff,每大回合开始固定减1层
+BuffLastTimeType_BigTurnLimit = 3 # 在1的基础上,额外限制不超过战场当前回合
 
 #动作类区分标识
 (
@@ -4065,6 +4072,7 @@
 PassiveEff_AddHurtAtkPerMax = 6027 # 增加技能最大攻击万分比限制
 PassiveEff_AddChangeLayers5008 = 6028 # 增减5008效果的转化层数
 PassiveEff_AddBatDamPerByLayer = 6029 # 提升技能战斗伤害(根据身上buff状态层数)
+PassiveEff_LostHPProtect = 6030 # 掉血上限保护
 
 # 被动效果ID有触发值时就返回的
 PassiveEffHappenValueList = [PassiveEff_ChangeHurtType, PassiveEff_ImmuneControlBuff, PassiveEff_MustSuperHit, PassiveEff_SkillInvalid, 
@@ -4072,7 +4080,7 @@
 # 被动效果ID触发值取最大值的
 PassiveEffValueMaxList = [PassiveEff_ChangeHurtMulti]
 # 被动效果ID触发值取最小值的
-PassiveEffValueMinList = []
+PassiveEffValueMinList = [PassiveEff_LostHPProtect]
 
 # 技能效果 - 不需要配置触发方式的
 SkillEff_CureWayEx = 7001 # 额外治疗值计算(对CalcType、SkillPer治疗计算方式扩展): 值1-计算方式;值2-万分比

--
Gitblit v1.8.0