aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/buffs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/buffs.rs')
-rw-r--r--src/shared/buffs.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/buffs.rs b/src/shared/buffs.rs
index 6b518a5..868f3a3 100644
--- a/src/shared/buffs.rs
+++ b/src/shared/buffs.rs
@@ -1,9 +1,9 @@
use crate::shared::*;
-#[derive(Clone, Component, Default, Debug)]
+#[derive(Clone, Message, Component, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Buffs {
- pub haste: Option<Timer>,
- pub shield: Option<Timer>,
- pub slow: Option<Timer>,
- pub speed: Option<Timer>,
+ pub haste: Option<f32>,
+ pub shield: Option<f32>,
+ pub slow: Option<f32>,
+ pub speed: Option<f32>,
}