Selaa lähdekoodia

Add a slight constant factor to digestion

mass-vore
Fen Dweller 6 vuotta sitten
vanhempi
commit
0efcfc3438
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. +3
    -1
      stories/mass-vore.js

+ 3
- 1
stories/mass-vore.js Näytä tiedosto

@@ -6,9 +6,11 @@

function digest(state, count) {
if (count === undefined) {
count = state.player.stats.stomach.value / 200;
count = state.player.stats.stomach.value / 200 + 2;
}

count = Math.min(state.player.stats.stomach.value, count);

count = Math.floor(count);

state.player.stats.stomach.value -= count;


Loading…
Peruuta
Tallenna