stdcall0 / gacha-plugin

0 stars 0 forks source link

Implement advanced scorers for StarRail #2

Open stdcall0 opened 5 months ago

stdcall0 commented 5 months ago

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 commented 5 months ago

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

Need more investigate into their code, which is complicated.

stdcall0 commented 4 months ago

Had been experimenting ideas from c19af3183db959f7fb7a5394dd814852b98bc8eb to 18704bf8204799e9cefe32a127a3c369b912817d.

Currently the scorers are still inaccurate and need tweaks.

stdcall0 commented 4 months ago

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.