From a7ee20f2467c3d04d23ad80ebd25e07b806b5c22 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 03 十一月 2025 10:47:21 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(词条技能1021、1022、1024;增加触发方式25-受到持续伤害,26-敌方单位死亡时,27-己方单位死亡时;优化效果6008可配置免控类型;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index d13e74f..596984a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -114,7 +114,7 @@
 AttrID_AtkPer,                              # 攻击加成 16
 AttrID_DefPer,                              # 防御加成 17
 AttrID_MaxHPPer,                            # 生命加成 18
-AttrID_19,
+AttrID_XPRecoverPer,                        # 怒气恢复 19
 AttrID_20,
 AttrID_StunRate,                            # 击晕 21
 AttrID_StunRateDef,                         # 抗击晕 22
@@ -180,7 +180,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_ComboDamPer, AttrID_ComboDamPerDef, AttrID_XPRecoverPer,
                         ]
 
 # 基础三维属性ID列表
@@ -230,7 +230,7 @@
 ##-----------------------------------------------------------------------------------------------
 
 Def_Calc_AllAttrType_MAX = 192
-#基本属性BUFF计算,顺序与 ObjProperty_AttrByIndex 对应,同时也为buff效果ID同步通知策划
+#基本属性BUFF计算,顺序与 ObjProperty_AttrByIndex 对应,同时也为buff效果ID同步通知策划【废弃】
 TYPE_Calc_AttrList = (
 TYPE_Calc_Metal,                        # 金 1
 TYPE_Calc_Wood,                         # 木 2
@@ -1332,7 +1332,8 @@
 Def_Calc_ByBuffValue, # 触发buff的buff值 4
 Def_Calc_TagLostHP, # 目标已损失生命 5
 Def_Calc_HarmSelfHP, # 按本次自残耗血值 6
-) = range(7)
+Def_Calc_AtkedSkillHurtHP, # 按最后受到攻击的技能伤害  7
+) = range(8)
 
 #治疗类型(影响公式参数)
 Def_CureTypeList = (
@@ -4052,7 +4053,10 @@
 TriggerWay_BeAnyEffect, # 受到任意效果时(除直接攻击外的任意效果,如buff、dot、治疗、额外怒技)22
 TriggerWay_BuffAddByOwner, # buff添加时(施法者触发) 23
 TriggerWay_BeHurt, # 掉血时 24
-) = range(1, 1 + 24)
+TriggerWay_BeDOTHurt, # 受到持续伤害 25
+TriggerWay_EnemyDie, # 敌方单位死亡时 26
+TriggerWay_FriendDie, # 己方单位死亡时 27
+) = range(1, 1 + 27)
 
 # 不加载的被动触发方式,一般用于本技能固定触发逻辑用的
 TriggerWayNoLoadList = [TriggerWay_CurSkillEff, TriggerWay_CurSkillEffLst]

--
Gitblit v1.8.0