aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 3 insertions, 1 deletions
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<EventKind> {
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 {