[战斗]======被动357修改 御甲buff修改
parent
96c77fd033
commit
661ea27421
|
@ -8556,9 +8556,6 @@ local passivityList = {
|
|||
return
|
||||
end
|
||||
|
||||
if not buff.skill then
|
||||
return
|
||||
end
|
||||
if type==BuffName.DOT then
|
||||
if buff.damageType~=type2 then
|
||||
return
|
||||
|
|
|
@ -5,10 +5,7 @@ function Blood:SetData(...)
|
|||
|
||||
-- 刷新排序等级
|
||||
self.bloodValue=...
|
||||
local passiveChange=function(addValue)
|
||||
self.bloodValue=self.bloodValue+addValue
|
||||
end
|
||||
BattleLogic.Event:DispatchEvent(BattleEventName.BloodValuePassiveChange,passiveChange,self.target,self.caster,self.bloodValue)
|
||||
|
||||
self.sort = 4
|
||||
|
||||
end
|
||||
|
@ -27,6 +24,10 @@ end
|
|||
--初始化后调用一次
|
||||
function Blood:OnStart()
|
||||
self.target.bloodShield = self
|
||||
local passiveChange=function(addValue)
|
||||
self.bloodValue=self.bloodValue+addValue
|
||||
end
|
||||
BattleLogic.Event:DispatchEvent(BattleEventName.BloodValuePassiveChange,passiveChange,self.target,self.caster,self.bloodValue)
|
||||
self.target.Event:DispatchEvent(BattleEventName.BloodValueChange,self.bloodValue/self.target:GetRoleData(RoleDataName.MaxHp),1,self.bloodValue)
|
||||
end
|
||||
function Blood:GetCurValue()
|
||||
|
|
Loading…
Reference in New Issue