The-New-Platinum-Team / PlatinumQuest-Dev

The main repository for the game PlatinumQuest after the formation of new development team.
MIT License
14 stars 8 forks source link

Let the maximum hunt score predictor be configurable #86

Closed thearst3rd closed 1 year ago

thearst3rd commented 1 year ago

Feature request by Mazik. Some hunt levels (particularly Hunting Around) have scores that actually or nearly surpass 2x the awesome score. Currently the score predictor gets disabled when predicting a value that high, so this pull request allows someone to see the predicted score higher than 2x for those hunt levels.

Since this feature is relatively niche (aka, you gotta be reallllly good lol) and the community generally doesn't like adding new toggles, this feature is hidden in the prefs. By changing $pref::ScorePredictorMaxFactor (which defaults to 2 to match the previous behavior), you can choose what factor of the awesome score the score predictor will predict to. You can also set this value to 0 and there will be no limit.

This PR does not change the fact that within the first 10 seconds, no score is predicted. Maybe this should also become configurable, because of Hunting Around lol

Here's a quick video demo of the feature: https://youtu.be/gHXsik5wGNA