back_recharge
wangyuan 2019-06-13 15:57:55 +08:00
parent 1f396ec9a0
commit 0a0aee11d3
2 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ function BattleMain.Execute(args, fightData, optionData)
file:write(errorCache)
file:write("fightData:\n"..PrintTable(_fightData).."\n")
file:write("optionData:\n"..PrintTable(_optionData).."\n")
file:write("seed:\n"..args.seed.."\n")
io.close(file)
end
return { result = -1 }

View File

@ -700,7 +700,7 @@ local effectList = {
end)
end
target.Event:AddEvent(BattleEventName.RoleBeDamagedBefore, trigger)
target:AddBuff(Buff.Create(caster, target, BuffName.Brand, f3, "weak", function ()
target:AddBuff(Buff.Create(caster, BuffName.Brand, f3, "weak", function ()
target.Event:RemoveEvent(BattleEventName.RoleBeDamagedBefore, trigger)
end))
end)