【战斗】==========被动196 修改

dev_chengFeng
wangzhenxing 2021-09-17 11:55:18 +08:00
parent 38fcf555dd
commit 4511eec383
1 changed files with 3 additions and 2 deletions

View File

@ -4168,7 +4168,7 @@ local passivityList = {
end)
end,
-- 对敌方造成伤害如被分摊其分摊比降低[a]%,判断类型[b](b:1 技能 2 普攻 3 所有 4燃烧目标 )
-- 对敌方造成伤害如被分摊其分摊比降低[a]%,判断类型[b](b:1 普攻 2 技能 3 所有 4燃烧目标 技能 )
-- a[float],b[int]
[196] = function(role, args,id,judge)
local f1 = args[1]
@ -4177,7 +4177,8 @@ local passivityList = {
if skill and not skill.isTriggerJudge and judge==1 then
return
end
if type==4 and not BattleLogic.BuffMgr:HasBuff(target, BuffName.DOT, function (buff) return buff.type== BuffName.DOT and buff.damageType==1 end,role,1) then
if type==4 and not BattleLogic.BuffMgr:HasBuff(target, BuffName.DOT, function (buff) return buff.type== BuffName.DOT and buff.damageType==1 end,role,1) and
skill and skill.type~=BattleSkillType.Special and skill.type~=BattleSkillType.Extra and skill.type~=BattleSkillType.DeadSkill then
return
end
--普攻不会被降低分摊 2020/11/17 wangzhenxing lihaiyang