瀏覽代碼

Fix another busted upgrade - helper was wrong

tags/v0.0.6
Fen Dweller 5 年之前
父節點
當前提交
9746e5648d
沒有發現已知的金鑰在資料庫的簽署中 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…
取消
儲存