From ee82685a9cf068539a065cc46403c6ef1c2d3889 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 02 四月 2024 18:34:37 +0800 Subject: [PATCH] 10019 【砍树】回合战斗(复活、多倍攻击、被动触发效果5010、5011、释放方式49、50、优化释放方式43) 1. 支持神通技能复活,区分灵宠触发复活或主角自身复活; 2. 新增被动触发效果5010,攻击有X%的概率造成X倍伤害,同个技能支持同时配置多个不同概率不同倍值;NPC支持多倍攻击; 3. 新增被动触发效果5011,回合战斗开始前触发; 4. 新增换血攻击释放方式49:消耗自身x%当前生命值,扣除敌方等额生命值,最高不超过自身x%攻击; 5. 新增结算灼烧释放方式50;优化原灼烧效果1034,支持结算灼烧伤害加成; 6. 优化原释放方式43:偷取对方属性,支持配置不超过自身属性百分比;NPC支持偷属性;优化原buff效果1015, --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py | 5 ++--- 1 files changed, 2 insertions(+), 3 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 d73897a..5c3cfd8 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 @@ -1320,7 +1320,6 @@ if curSkill and GetSkillBattleType(curSkill) == ChConfig.Def_BattleRelationType_CommNoBoss and SkillShell.IsNPCSkillResist(curObj): return - notifyLostValue = lostValue curObjHP_BeforeAttack = GameObj.GetHP(curObj) if curObjHP_BeforeAttack == 0: # 没有血量不能再触发 @@ -1363,7 +1362,7 @@ AttackCommon.WriteHurtLog(buffOwner, curObj, curSkill, lostValue, hurtType, "持续掉血") if view: #广播伤血类型 - AttackCommon.ChangeHPView(curObj, buffOwner, skillTypeID, notifyLostValue, hurtType) + AttackCommon.ChangeHPView(curObj, buffOwner, skillTypeID, lostValue, hurtType) if buffOwner: PassiveBuffEffMng.OnPassiveSkillTrigger(buffOwner, curObj, curSkill, ChConfig.TriggerType_AttackOverPassive, tick) @@ -1417,7 +1416,7 @@ #统一调用攻击结束动作 if isDoAttackResult: BaseAttack.DoLogic_AttackResult(buffOwner, curObj, None, tick) - return + return lostHP ## 检查增加淬毒buff # @param skillTypeID 使用的技能typeID -- Gitblit v1.8.0