diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua index 2ddc39d984..cdceec4e93 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua @@ -1536,10 +1536,14 @@ local passivityList = { [91] = function(role, args,id,judge) local f1 = args[1] local ct = args[2] - local passivityDamaging = function(func, caster, damage,skill, dotType, bCrit) + local passivityDamaging = function(func, caster, damage,skill, dotType, bCrit,damageType) if skill and not skill.isTriggerJudge and judge==1 then return end + if damageType==3 then + return + end + --处理伏虎觉醒十星附加的额外技能,额外技能不触发这个特性 2020/11/17 wangzhenxing if skill and skill.type== BattleSkillType.Extra and skill.owner.roleId==10015 and judge==1 then return @@ -3298,13 +3302,15 @@ local passivityList = { local f1 = args[1] local dot = args[2] local f2 = args[3] - local i1 = args[3] + local i1 = args[4] -- 技能后后 local onBeSkillCastEnd = function(skill) if skill.type == BattleSkillType.Normal and skill.owner and skill.owner.camp~=role.camp then local attack = role:GetRoleData(RoleDataName.Attack) local damage = floor(BattleUtil.ErrorCorrection(attack * f2)) + --持续回合数特殊处理,处理中毒等少触发一回合的情况 by:wangzhenxing 2021/08/26 17:58 + i1=i1+1 BattleUtil.RandomDot(f1, dot, role, skill.owner, i1, 1, damage) end end