Cleanup creature update slightly, add show instance for impulses
This commit is contained in:
@@ -33,16 +33,16 @@ smallChaseCrit = chaseCrit
|
||||
}
|
||||
chaseCrit :: Creature
|
||||
chaseCrit = defaultCreature
|
||||
{ _crUpdate = stateUpdate $ impulsiveAI $ chainCreatureUpdatesLR
|
||||
[ Right doStrategyActions
|
||||
, Left performActions
|
||||
, Right overrideMeleeCloseTarget
|
||||
, Right setViewPos
|
||||
, Right setMvPos
|
||||
, Left goToTarget
|
||||
, Left $ perceptionUpdate' [0]
|
||||
, Left targetYouWhenCognizant
|
||||
, Right (crMeleeCooldown %~ max 0 . subtract 1)
|
||||
{ _crUpdate = stateUpdate $ impulsiveAI $ chainCreatureUpdates
|
||||
[ const doStrategyActions
|
||||
, performActions
|
||||
, const overrideMeleeCloseTarget
|
||||
, const setViewPos
|
||||
, const setMvPos
|
||||
, goToTarget
|
||||
, perceptionUpdate [0]
|
||||
, targetYouWhenCognizant
|
||||
, const (crMeleeCooldown %~ max 0 . subtract 1)
|
||||
]
|
||||
, _crHP = 150
|
||||
, _crPict = basicCrPict green
|
||||
|
||||
Reference in New Issue
Block a user