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 missing monster Challenge Ratings #70

Merged
merged 2 commits into from
Jan 31, 2019

Conversation

datdamnzotz
Copy link

Fixes #41

@datdamnzotz datdamnzotz added bug Something isn't working area/application Task related to orcpub application itself labels Jan 30, 2019
@datdamnzotz datdamnzotz changed the title Fix missing monster crs Fix missing monster Challenge Ratings Jan 30, 2019
@codeGlaze codeGlaze merged commit e865f9d into Orcpub:develop Jan 31, 2019
@MeanderingCode
Copy link

What is going on here? Clojure is byzantine, but this looks like all it does is filter out keys from the monsters/challenge-ratings if the value is non-positive?

@codeGlaze
Copy link

codeGlaze commented Feb 4, 2019

The change fixes the bug that only listed CRs that existed on pre-populated monsters. Which was not the entire CR range.

@datdamnzotz
Copy link
Author

Yes, that is exactly what it does. monsters5e/challenge-ratings has CR XP. I only needed the CR so it drops the XP.

@datdamnzotz datdamnzotz deleted the fix-missing-monster-crs branch February 6, 2019 19:17
@MeanderingCode
Copy link

And only for pairs where there is an XP, if I read that correctly?

@datdamnzotz
Copy link
Author

pairs are defined here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/application Task related to orcpub application itself bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants