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

Implement advanced scorers for StarRail #2

Open
stdcall0 opened this issue Feb 25, 2024 · 3 comments
Open

Implement advanced scorers for StarRail #2

stdcall0 opened this issue Feb 25, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@stdcall0
Copy link
Owner

The new scorer should take main stat into consideration.

Each Set is assigned with appropriate scorers and the Piece Score is the maximum score of all scorer results.

The scorer should be coded with good extensivity and be put in #@/resources/starrail/scorers/.

@stdcall0
Copy link
Owner Author

One idea is to use existing scorer from miao-plugin.

Need more investigate into their code, which is complicated.

@stdcall0
Copy link
Owner Author

stdcall0 commented Mar 1, 2024

Had been experimenting ideas from c19af31 to 18704bf.

Currently the scorers are still inaccurate and need tweaks.

@stdcall0
Copy link
Owner Author

stdcall0 commented Mar 2, 2024

So the final scorer would be:

Each scorer (per character) has it SubStatWeight, and subStat score = sum of substat.value*weight;

For Main Stat, each scorer has its preferred main stat type. If the main stat is correct, an extra score is given. Otherwise, the total score is multipled by 0.1 to reduce the score to a small value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant