From 2d8c0f26c71e90e30d8aef35f7ae95003abf13d6 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 31 May 2018 16:05:52 +0200 Subject: cargo fmt --- src/event.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/event.rs') diff --git a/src/event.rs b/src/event.rs index 0b28147..02f4686 100644 --- a/src/event.rs +++ b/src/event.rs @@ -264,7 +264,9 @@ fn check_damage(raw_event: &raw::CbtEvent) -> Option { damage: raw_event.value, result: raw_event.result, }) - } else if raw_event.buff == 1 && raw_event.buff_dmg != 0 && raw_event.dst_agent != 0 + } else if raw_event.buff == 1 + && raw_event.buff_dmg != 0 + && raw_event.dst_agent != 0 && raw_event.value == 0 { Some(EventKind::ConditionTick { -- cgit v1.2.3