fix: worker levels now scale idle spare time gain
This commit is contained in:
parent
e0b8bd00c1
commit
2b4dd94309
|
@ -57,7 +57,9 @@ export default {
|
|||
.filter((p) => p.created)
|
||||
.forEach((process, index) => {
|
||||
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', {
|
||||
index,
|
||||
value: 0,
|
||||
|
|
Reference in New Issue