hsr-optimizer icon indicating copy to clipboard operation
hsr-optimizer copied to clipboard

fix: score potential accurately

Open FI00ds opened this issue 1 year ago • 0 comments

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.

Screenshots

FI00ds avatar May 21 '24 04:05 FI00ds