战斗逻辑

back_recharge
lvxinran 2020-01-03 12:22:05 +08:00
parent a89c0df8bd
commit 481cda0103
2 changed files with 1 additions and 2 deletions

View File

@ -1826,7 +1826,7 @@ local effectList = {
local f2 = args[4]
local f3 = args[5]
BattleLogic.WaitForTrigger(interval, function ()
local DOT = Buff.Create(caster, BuffName.DOT, f2, f2/f3, d1, 0, f1)
local DOT = Buff.Create(caster, BuffName.DOT, f2, f2/f3, d1, f1, 1)
DOT.clear = false
DOT.isDeBuff = true
buffRandomAction(f4, target, DOT)

View File

@ -1366,7 +1366,6 @@ local passivityList = {
hp = floor(BattleUtil.FP_Mul(role:GetRoleData(RoleDataName.Hp), f1))
role.data:SubValue(RoleDataName.Hp, hp)
role.Event:RemoveEvent(BattleEventName.SkillCast, OnSkillCast)
role.Event:AddEvent(BattleEventName.SkillCastEnd, OnSkillCastEnd)
role.Event:AddEvent(BattleEventName.PassiveDamaging, OnPassiveDamaging)
end