catch all multiplier meta cases

This commit is contained in:
Mashy 2019-05-28 12:25:09 +10:00
parent d2f2c2bb67
commit 6d20644bcc

View File

@ -97,7 +97,11 @@ impl ConstructEffect {
}
pub fn get_multiplier(&self) -> u64 {
self.effect.apply(100, self.meta)
match self.meta {
Some(EffectMeta::Multiplier(s)) => s,
_ => 0
}
}
}