From 5c707e161b1c44e798a7d4f41b9c9b1825b6bb66 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 九月 2025 15:54:28 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(贾诩技能,buff计算属性后最终属性支持负值;) --- 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 fc0c34a..98578b9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -160,7 +160,9 @@ AttrID_WuFinalDamPerDef, # 对吴减伤 62 AttrID_QunFinalDamPer, # 对群增伤 63 AttrID_QunFinalDamPerDef, # 对群减伤 64 -) = range(1, 1 + 64) +AttrID_SkillPer, # 技能增伤 65 +AttrID_SkillPerDef, # 技能减伤 66 +) = range(1, 1 + 66) # 需要计算的武将战斗属性ID列表 CalcBattleAttrIDList = [AttrID_Atk, AttrID_Def, AttrID_MaxHP, AttrID_StunRate, AttrID_StunRateDef, @@ -4270,8 +4272,8 @@ TriggerWay_HeroTurnEnd, # 武将回合开始时 5 TriggerWay_HeroActionStart, # 武将行动前 6 TriggerWay_HeroActionEnd, # 武将行动后 7 -TriggerWay_CalcTagInState, # 攻击计算时对方处于xx状态时(参数:状态1|2|...)一般用于攻击时属性计算 8 -TriggerWay_AttackOverTagInState, # 攻击计算后对方处于xx状态时(参数:状态1|2|...)一般用于攻击后触发效果 9 +TriggerWay_CalcEffValue, # 统计计算效果值时 8 +TriggerWay_9, # 9 TriggerWay_AttackOverDirect, # 直接攻击后 (非buff攻击)10 TriggerWay_BeAttackedDirect, # 受到直接攻击时 (非buff攻击)11 TriggerWay_ShieldBroken, # 承伤盾被击破时 12 @@ -4279,8 +4281,10 @@ ) = range(1, 1 + 13) # 被动触发有效来源 -TriggerSrc_Skill = 1 -TriggerSrc_Buff = 2 +TriggerSrc_Skill = 1 # 身上技能有效 +TriggerSrc_Buff = 2 # 身上buff有效 +TriggerSrc_SkillSelf = 3 # 本技能有效 +TriggerSrc_BuffSelf = 4 # 本buff有效 ( TriggerType_BeSuperHit, # 被暴击触发技能 1 -- Gitblit v1.8.0