Procházet zdrojové kódy

Fix another busted upgrade - helper was wrong

tags/v0.0.6
Fen Dweller před 5 roky
rodič
revize
9746e5648d
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: E80B35A6F11C3656
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      constants.js

+ 1
- 1
constants.js Zobrazit soubor

@@ -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.";


Načítá se…
Zrušit
Uložit