eternaldensity / Sandcastle-Builder

xkcd: 1190: Time: The Game
Other
79 stars 65 forks source link

Fix a bug where Clannesque gives -infinity defense. #1511

Closed yuje closed 4 years ago

yuje commented 4 years ago

If there are no eggs in storage, then Math.log(Molpy.Level('Cryogenics'))) evaluates to -infinity, and dragons will lose every battle.

eternaldensity commented 4 years ago

Thanks for this! I haven't played in... probably years, so do you think you could pastebit or gist me a save for testing?

yuje commented 4 years ago

Here