From 0c96af08f55d05ab40eae9f940467dd8eafae44c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 九月 2025 14:07:53 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(增加属性ID技能增伤65、技能减伤66;曹轶技能;被动触发增加属性支持;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py index f04ff00..93f395e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py @@ -1848,6 +1848,10 @@ #0通哟 1 PVP类型 2PVE类型 return curSkill.GetHurtType() % 10 +def isDamageShieldSkill(skillData): + ## 是否承伤盾技能 + return skillData.GetAtkType() == ChConfig.BuffAtkType_DamageShield + def isAngerSkill(curSkill): ## 是否怒气技能 return curSkill and curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_AngerSkill @@ -1855,10 +1859,6 @@ def isTurnNormalSkill(curSkill): ## 是否回合普攻技能,区别与无技能的普通A一下,该普攻同样可以有各种技能效果,只是他属于普攻 return curSkill and curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_TurnNormaSkill - -def isAtkbackSkill(curSkill): - ## 是否反击技能 - return curSkill and curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_AtkbackSkill ## 检查技能是否为被动技能, 用于控制不可释放技能 def isPassiveSkill(curSkill): -- Gitblit v1.8.0