More hlinting
This commit is contained in:
@@ -207,8 +207,8 @@ mcProxTest w = \case
|
||||
RequireHealth x -> fromMaybe 0 (cr ^? crHP . _HP) >= x
|
||||
RequireEquipment ct ->
|
||||
any
|
||||
(\itm -> _itType itm == ct)
|
||||
((\k -> w ^?! cWorld . lWorld . items . ix k) <$> _crInv cr)
|
||||
((\itm -> _itType itm == ct)
|
||||
. (\k -> w ^?! cWorld . lWorld . items . ix k)) (_crInv cr)
|
||||
RequireDeadCreatures is -> all (\x -> null (x ^? crHP . _HP))
|
||||
(IM.restrictKeys (w ^. cWorld . lWorld . creatures) (IS.fromList is))
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user