Skip to content

Commit 0bb9f80

Browse files
committed
cap Silt gain to 100% speed
1 parent c1b04a4 commit 0bb9f80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

KTL/actionData5.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ actionData = {
5757
this.updateMults();
5858

5959
addResourceTo(actionObj, actionObj.resourceToAdd);
60-
addResourceTo(data.actions.tidalBurden, (actionObj.efficiency / 100));
60+
addResourceTo(data.actions.tidalBurden, (Math.min(actionObj.efficiency/100, 1)));
6161
addResourceTo(data.actions.dipInTheRiver, actionObj.resource / 10);
6262

6363
views.scheduleUpdate('turnTheWheelResourceSent', intToString(actionObj.resourceToAdd, 2), "textContent")
@@ -71,7 +71,7 @@ actionData = {
7171
actionObj.resourceToAdd = actionObj.actionPower * actionObj.upgradeMult * (actionObj.efficiency / 100);
7272
actionObj.expToAddBase = 0;
7373
actionObj.showResourceAdded = actionObj.resourceToAdd;
74-
data.actions.tidalBurden.showResourceAdded = actionObj.efficiency/100;
74+
data.actions.tidalBurden.showResourceAdded = Math.min(actionObj.efficiency/100, 1);
7575
data.actions.dipInTheRiver.showResourceAdded = actionObj.resource/10;
7676
},
7777
onLevelAtts:[["flow", 5]],

0 commit comments

Comments
 (0)