Ver código fonte

Fix another busted upgrade - helper was wrong

tags/v0.0.6
Fen Dweller 6 anos atrás
pai
commit
9746e5648d
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: E80B35A6F11C3656
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      constants.js

+ 1
- 1
constants.js Ver arquivo

@@ -260,7 +260,7 @@ const effect_types = {
},
"helper": {
"apply": function (effect, productivity, helperCount) {
return productivity * (1 + effect.amount * helperCount);
return scaleCost(productivity, 1 + effect.amount * helperCount);
},
"desc": function (effect) {
return "+" + round(effect.amount * 100) + "% food/sec from " + buildings[effect.helped].name + " for every " + buildings[effect.helper].name + " owned.";


Carregando…
Cancelar
Salvar