Fixed a bug where certain base values would be strings instead of numbers in effect aggregators

This commit is contained in:
Stefan Zermatten
2021-02-24 11:58:04 +02:00
parent e11ab39864
commit 8d95da8b7a

View File

@@ -14,7 +14,7 @@ export default class EffectAggregator{
prop: stat,
memo
});
this.statBaseValue = result.value;
this.statBaseValue = +result.value;
stat.dependencies = union(
stat.dependencies,
dependencies,