Skip to content

Commit

Permalink
Fix buff event classification
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthox committed Nov 14, 2024
1 parent 19dfe2b commit 6806b5d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arcdps/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arcdps"
version = "0.15.0"
version = "0.15.1"
authors = ["Zerthox", "Greaka"]
edition = "2021"
description = "Rust bindings for ArcDPS plugins"
Expand Down
2 changes: 1 addition & 1 deletion evtc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "evtc"
version = "0.9.0"
version = "0.9.1"
authors = ["Zerthox"]
edition = "2021"
description = "Rust bindings for the ArcDPS EVTC API"
Expand Down
2 changes: 1 addition & 1 deletion evtc/src/event/category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl From<&Event> for EventCategory {
} else if event.get_buffremove() != BuffRemove::None {
EventCategory::BuffRemove
} else if event.buff != 0 {
if event.buff_dmg == 0 {
if event.buff_dmg == 0 && event.value != 0 {
EventCategory::BuffApply
} else {
EventCategory::BuffDamage
Expand Down
4 changes: 2 additions & 2 deletions evtc_parse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "evtc_parse"
version = "0.9.0"
version = "0.9.1"
authors = ["Zerthox"]
edition = "2021"
description = "Parsing for ArcDPS EVTC logs"
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/zerthox/arcdps-rs"
evtc = { path = "../evtc" }
byteorder = "1.4.3"
serde = { version = "1.0.160", features = ["derive"], optional = true }
thiserror = "1.0.38"
thiserror = "2.0.3"
zip = { version = "2.1.3", optional = true }

[features]
Expand Down

0 comments on commit 6806b5d

Please sign in to comment.