[战斗]=========被动200 同一个阵营如果有多个200被动 只会生效一个
parent
2e798c6888
commit
77121e01e3
|
@ -1,4 +1,4 @@
|
|||
local floor = math.floor
|
||||
local floor = math.floor
|
||||
local max = math.max
|
||||
local min = math.min
|
||||
--local RoleDataName = RoleDataName
|
||||
|
@ -4194,7 +4194,10 @@ local passivityList = {
|
|||
-- a[float]
|
||||
[200] = function(role, args)
|
||||
local f1 = args[1]
|
||||
|
||||
if PassiveManager.passiveCountList[role.camp][200] and PassiveManager.passiveCountList[role.camp][200] > 0 then
|
||||
return
|
||||
end
|
||||
PassiveManager.passiveCountList[role.camp][200] = 1
|
||||
local onFinalDamage = function(damagingFunc, atkRole, defRole, damage, skill, dotType, bCrit, damageType)
|
||||
local ignoreShara=atkRole.ignoreShara
|
||||
--特殊处理 白骨精附加的普攻不会忽略分摊
|
||||
|
@ -6958,7 +6961,6 @@ local passivityList = {
|
|||
local ctrlNum=0
|
||||
|
||||
local onBuffCaster = function(buff)
|
||||
LogGreen("buff type = ".. buff.type)
|
||||
if buff.type == BuffName.Control then
|
||||
ctrlNum = ctrlNum + 1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue