Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Nov 1, 2019

Conversation

yuje
Copy link
Contributor

@yuje yuje commented Oct 31, 2019

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

yuje added 2 commits October 31, 2019 11:52
If there are no eggs in storage, then Molpy.Level('Cryogenics'))
evaluates to -infinity, and dragons will lose every battle.
Add a base stat for dragon's breath stats if Dragon Breath is owned.
Otherwise, breath stat will always be 0, regardless of multiplier.
Also, enable breath attack against redundaknights if Dragon Breath
is owned. Previous check was checking for a non-zero nest lining for
breath stat, rather than whether or not dragons have a breath stat.
@eternaldensity eternaldensity merged commit 292e70b into eternaldensity:master Nov 1, 2019
@eternaldensity
Copy link
Owner

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
Copy link
Contributor Author

yuje commented Nov 1, 2019

Here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants