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 Horadric recipes #465

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Fix Horadric recipes #465

merged 3 commits into from
Oct 8, 2024

Conversation

PiotrKaszuba
Copy link
Contributor

  • Fixed: _get_average_ingredient_level which only skips numerator additions for non-permanent items while keeps denominator the size of item list - influences/fixes Imbue recipe
  • Removed unnecessary luck messages for recipes that are not influenced by luck

…unting permanent items - previously non-permanent items were skipped but still counted for division as size of item list was used
No change to behavior
Generate permanent item list and use it to get, sum, item count and
\ avg level
@Kvel2D
Copy link
Collaborator

Kvel2D commented Oct 8, 2024

Thank you.
I adjusted _get_average_ingredient_level() a bit more to make it more explicit that it operates only on permanent items and not oils.

@Kvel2D Kvel2D merged commit 5d9ad94 into Praytic:main Oct 8, 2024
@PiotrKaszuba PiotrKaszuba deleted the fix_imbue_recipe branch October 8, 2024 16:41
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