[战斗] 196 被动 添加类型判断
parent
f174c68db7
commit
84a28f8a28
|
@ -3837,8 +3837,17 @@ local passivityList = {
|
|||
-- a[float]
|
||||
[196] = function(role, args)
|
||||
local f1 = args[1]
|
||||
local type = args[2]
|
||||
local onDamageBeShare = function(func,skill)
|
||||
--处理伏虎觉醒十星附加的额外技能,额外技能不触发这个特性 2020/11/17 wangzhenxing
|
||||
--普攻不会被降低分摊 2020/11/17 wangzhenxing lihaiyang
|
||||
if type==1 and skill and skill.type~=BattleSkillType.Normal then
|
||||
return
|
||||
end
|
||||
if type==2 and skill and skill.type~=BattleSkillType.Special and skill.type~=BattleSkillType.Extra then
|
||||
return
|
||||
end
|
||||
|
||||
if skill and skill.type== BattleSkillType.Extra and skill.owner.roleId==10015 then
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue