Fix slime suck bug

This commit is contained in:
2026-05-18 19:25:07 +01:00
parent 3119f10c2c
commit eb817d34ef
5 changed files with 16 additions and 25 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ updateCalmBee cr cid w
& tocr . crActionPlan . apStrategy .~ SearchTimed 200
(p,g) = runState (randOnCirc 200) (w ^. randGen)
cxy = cr ^. crPos . _xy
mountshakeoff mid = fromMaybe True $ do
mountshakeoff mid = fromMaybe False $ do
mcr <- w ^? cWorld . lWorld . creatures . ix mid
x <- mcr ^? crType . slimeDistortion . sdTime
return $ x > 8