fix: worker levels now scale idle spare time gain

This commit is contained in:
pskfyi 2022-01-10 22:06:03 -08:00 committed by John McCardle
parent e0b8bd00c1
commit 2b4dd94309
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ export default {
.filter((p) => p.created) .filter((p) => p.created)
.forEach((process, index) => { .forEach((process, index) => {
if (process.completion >= process.completionRequired) { if (process.completion >= process.completionRequired) {
this.$store.commit('addCurrency', process.baseReward) const reward = process.baseReward * (1 + process.workerLevel)
this.$store.commit('addCurrency', reward)
this.$store.commit('setProcessCompletion', { this.$store.commit('setProcessCompletion', {
index, index,
value: 0, value: 0,