Преглед на файлове

Fix another busted upgrade - helper was wrong

tags/v0.0.6
Fen Dweller преди 6 години
родител
ревизия
9746e5648d
No known key found for this signature in database GPG Key ID: E80B35A6F11C3656
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      constants.js

+ 1
- 1
constants.js Целия файл

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


Loading…
Отказ
Запис