mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix formula
This commit is contained in:
parent
5f74002205
commit
053c3a76e6
3 changed files with 2429 additions and 2047 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -107,7 +107,7 @@ public class ResultHandler {
|
|||
if (m.matches()) {
|
||||
String card = m.group(1);
|
||||
Float stdRate = Float.parseFloat(m.group(2));
|
||||
int rate = (int)((15 - stdRate + 1) * 1000);
|
||||
int rate = (int)((15 - stdRate + 1) * (2/3f) * 100 + 500);
|
||||
ratings.put(card, rate);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue