hsr-optimizer
hsr-optimizer copied to clipboard
fix: score potential accurately
Pull Request
Description
- Fixed the displayed mainstat freerolls on the explainer page to correspond with the ones in the code
- Fixed the normalizations in the code to use the full mainstat value
- Rewrote the scoreRelic() function to generate and score fake relics for a more accurate score
- Fixed the average potential calculation to no longer over-estimate average potential
- Fixed potential calculation under-estimating the score of speed
- Fixed mainstat score calculation to use proper mainstat score for relic grade
- Fixed scoreRelicPct() to use a 5* relic as the ideal relic
Related Issue
Checklist
- [x] I have added commit messages that are descriptive and meaningful.
- [x] I have tested the changes locally.
- [x] I have reviewed the code changes.