[战斗]=======被动184修改
parent
30c71ca225
commit
a5530496dd
|
|
@ -178,6 +178,7 @@ function BuffManager:AddBuff(target, buff)
|
|||
buff.roundDuration = buff.duration
|
||||
buff.roundInterval = buff.interval
|
||||
buff.caster.Event:DispatchEvent(BattleEventName.BuffCaster, buff)
|
||||
buff.caster.Event:DispatchEvent(BattleEventName.BuffCaster2, buff)
|
||||
buff.target.Event:DispatchEvent(BattleEventName.BuffBeAdd, buff)
|
||||
-- 用于记录统计
|
||||
BattleLogic.Event:DispatchEvent(BattleEventName.RecordBuff, buff.caster, buff.target, buff)
|
||||
|
|
|
|||
|
|
@ -3867,7 +3867,7 @@ local passivityList = {
|
|||
buff:ChangeBuffDuration(CountTypeName.Add, i1)
|
||||
end
|
||||
end
|
||||
role.Event:AddEvent(BattleEventName.BuffCaster, onBuffCaster,nil,nil,role)
|
||||
role.Event:AddEvent(BattleEventName.BuffCaster2, onBuffCaster,nil,nil,role)
|
||||
end,
|
||||
-- 直接伤害击杀目标对仇恨目标造成[a]%物理伤害
|
||||
-- a[float]
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ BattleEventName = {
|
|||
RoleAddBuffMiss = indexAdd(),
|
||||
|
||||
BuffCaster = indexAdd(),
|
||||
BuffCaster2 = indexAdd(),
|
||||
BuffStart = indexAdd(),
|
||||
BuffDodge = indexAdd(),
|
||||
BuffTrigger = indexAdd(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue