Remove creature records
This commit is contained in:
@@ -12,7 +12,7 @@ import RandomHelp
|
||||
|
||||
updateHumanoid :: Creature -> World -> World
|
||||
updateHumanoid cr = case cr ^?! crType of
|
||||
ChaseCrit ->
|
||||
ChaseCrit {} ->
|
||||
humanoidAIList
|
||||
[ const doStrategyActions
|
||||
, performActions
|
||||
@@ -23,7 +23,7 @@ updateHumanoid cr = case cr ^?! crType of
|
||||
, chaseCritPerceptionUpdate [0]
|
||||
, targetYouWhenCognizant
|
||||
, const searchIfDamaged
|
||||
, const (crMeleeCooldown %~ max 0 . subtract 1)
|
||||
, const (crType . meleeCooldown %~ max 0 . subtract 1)
|
||||
, const (crVocalization . vcCoolDown %~ max 0 . subtract 1)
|
||||
]
|
||||
cr
|
||||
|
||||
Reference in New Issue
Block a user