mirror of
https://github.com/correl/mage.git
synced 2025-04-08 09:11:04 -09:00
fix formula
This commit is contained in:
parent
5f74002205
commit
053c3a76e6
3 changed files with 2429 additions and 2047 deletions
Mage.Client/src/main/resources
Mage.Plugins/Mage.Rating.Plugin/src/main/java/org/mage/plugins/rating/results
Mage.Server.Plugins/Mage.Player.AI/src/main/resources
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
Reference in a new issue