|
|
@@ -6,9 +6,11 @@ |
|
|
|
|
|
|
|
|
function digest(state, count) { |
|
|
function digest(state, count) { |
|
|
if (count === undefined) { |
|
|
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); |
|
|
count = Math.floor(count); |
|
|
|
|
|
|
|
|
state.player.stats.stomach.value -= count; |
|
|
state.player.stats.stomach.value -= count; |
|
|
|