[战斗]=======被动184修改

dev_chengFeng
wangzhenxing 2022-08-30 13:51:05 +08:00
parent 30c71ca225
commit a5530496dd
3 changed files with 3 additions and 1 deletions

View File

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

View File

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

View File

@ -137,6 +137,7 @@ BattleEventName = {
RoleAddBuffMiss = indexAdd(),
BuffCaster = indexAdd(),
BuffCaster2 = indexAdd(),
BuffStart = indexAdd(),
BuffDodge = indexAdd(),
BuffTrigger = indexAdd(),