Chase crit suspicion increases more when you are closer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user