diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-05-31 16:05:52 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-05-31 16:05:52 +0200 |
commit | 2d8c0f26c71e90e30d8aef35f7ae95003abf13d6 (patch) | |
tree | feb1b11fbc1409214c7ef23299df9ea813888f6e /src/event.rs | |
parent | 4f3aa33ad3c7012105ef897da62220131ac9289c (diff) | |
download | evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.tar.gz evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.tar.bz2 evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.zip |
cargo fmt
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 4 |
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 { |