Skip to content

Relic Scoring

Aiman edited this page Oct 21, 2023 · 7 revisions

Our relic scoring system use a modified version of https://github.com/Mar-7th/StarRailScore
The calculation system are taken from: https://github.com/konnokai/DiscordStarRailBot/blob/master/DiscordStarRailBot/Interaction/HSR/HSRService.cs

Weights: https://github.com/naoTimesdev/qingque-gamba/blob/master/qingque/assets/relic_scores.json
And website to help me modify the weights: https://qingque-scoring.vercel.app/


Rank

  • 90+: OP
  • 85+: SSS
  • 80+: SS
  • 70+: S
  • 60+: A
  • 50+: B
  • 40+: C
  • <40: N/A

Calculation

Main Stats

$$MainStat = \frac{(RelicLevel + 1)}{16} \times RelicWeight$$

Where:

  • $RelicLevel$: Zero-based level from Mihomo API
  • $RelicWeight$: The relic type (HPDelta, HPAddedRatio, etc) weight for that relic piece and stats type.

(Each) Sub Stats

$$SubStat = SubStatCount + (SubStatStep \times 0.1) \times RelicSubWeight$$

Where:

  • $SubStatCount$: How many times this substats has been upgraded
  • $SubStatStep$: The stepping data from the API. (I forgot what is this about)
  • $RelicSubWeight$: The relic substats type (HPDelta, HPAddedRatio, etc) weight.

All of them will be totaled as $SubStatsTotal$

Final Score

$$SubStatsTotal = \frac{SubStatsTotal}{MaxScore}$$ $$TotalScore = (\frac{MainStat}{2} + \frac{SubStatsTotal}{2}) \times 100$$

Where:

  • $MaxScore$: The theoretical maximum score a character can achieves.

Max Score Calculation

See here: https://github.com/noaione/qingque-scoring/blob/master/src/utils/scoring.ts#L98

Clone this wiki locally