[战斗]======被动357修改 御甲buff修改

dev_chengFeng
wangzhenxing 2021-11-04 16:57:06 +08:00
parent 96c77fd033
commit 661ea27421
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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()