mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-04-21 15:00:18 +00:00
impr(db): accurate pure_small calculation
- I should commit this 4 days ago, but I forgot it in stash, my bad :(
This commit is contained in:
parent
3896efd8de
commit
33287b2e3a
@ -146,7 +146,7 @@ class Database(metaclass=Singleton):
|
|||||||
scores.time,
|
scores.time,
|
||||||
charts.rating,
|
charts.rating,
|
||||||
charts.note,
|
charts.note,
|
||||||
CAST ( ROUND( score - ( pure * 10000000 / note ) - ( far * 0.5 * 10000000 / note ) ) AS INTEGER ) AS pure_small,
|
score - FLOOR(( pure * 10000000.0 / note ) + ( far * 0.5 * 10000000.0 / note )) AS pure_small,
|
||||||
CASE
|
CASE
|
||||||
WHEN score >= 10000000 THEN
|
WHEN score >= 10000000 THEN
|
||||||
rating / 10.0 + 2
|
rating / 10.0 + 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user