Implement basic attention and awareness
This commit is contained in:
@@ -48,7 +48,7 @@ stateUpdate u w (f,g) cr =
|
||||
in case u w (f,g'') cr' of
|
||||
((f',g') , maybeCr) -> ( (invSideEff cr . movementSideEff cr . deathEff . f'
|
||||
, g')
|
||||
, fmap (updateReloadCounter . doDamage)
|
||||
, fmap (updateReloadCounter . doDamage . crAutoReload)
|
||||
$ crOrCorpse =<< maybeCr
|
||||
)
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user