Cap refund at lifetime best + 20 pts
Reduced from lifetime + 50
This commit is contained in:
parent
9f6a4f3ecb
commit
f25739f8e5
|
@ -51,7 +51,7 @@ private final class RatingRefund(
|
|||
|
||||
def pointsToRefund(ref: Refund, curRating: Int, perfs: PerfStat): Int = {
|
||||
ref.diff - (ref.diff + curRating - ref.topRating atLeast 0) / 2 atMost
|
||||
perfs.highest.fold(100) { _.int - curRating + 50 }
|
||||
perfs.highest.fold(100) { _.int - curRating + 20 }
|
||||
} squeeze (0, 150)
|
||||
|
||||
def refundPoints(victim: Victim, pt: PerfType, points: Int): Funit = {
|
||||
|
|
Loading…
Reference in a new issue