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

Add a slight constant factor to digestion

mass-vore
Fen Dweller преди 6 години
родител
ревизия
0efcfc3438
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. +3
    -1
      stories/mass-vore.js

+ 3
- 1
stories/mass-vore.js Целия файл

@@ -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…
Отказ
Запис