catch all multiplier meta cases
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user