catch all multiplier meta cases
This commit is contained in:
parent
d2f2c2bb67
commit
6d20644bcc
@ -97,7 +97,11 @@ impl ConstructEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_multiplier(&self) -> u64 {
|
pub fn get_multiplier(&self) -> u64 {
|
||||||
self.effect.apply(100, self.meta)
|
match self.meta {
|
||||||
|
Some(EffectMeta::Multiplier(s)) => s,
|
||||||
|
_ => 0
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user