Chase crit suspicion increases more when you are closer

This commit is contained in:
2023-04-30 18:12:54 +01:00
parent 08e71e5451
commit 5180e9a995
6 changed files with 73 additions and 72 deletions
+3
View File
@@ -12,6 +12,9 @@ doFloatFloat ff x = case ff of
FloatLessCheck y
| x > y -> 0
| otherwise -> 1
FloatDistLinearMaxMin maxd a b
| x > maxd -> 0
| otherwise -> (a * (maxd - x) + b * (x - maxd)) / maxd
FloatAbsCheckGreaterLess a y1 y2
| abs x > a -> y1
| otherwise -> y2