Move toward diagnosing state update leak
This commit is contained in:
@@ -34,13 +34,14 @@ smallChaseCrit = chaseCrit
|
||||
}
|
||||
chaseCrit :: Creature
|
||||
chaseCrit = defaultCreature
|
||||
{ _crUpdate = stateUpdate $ impulsiveAIR $
|
||||
doStrategyActionsR >=>
|
||||
performActionsR >=>
|
||||
overrideMeleeCloseTargetR >=>
|
||||
chaseTargetR targetYouLOS >=>
|
||||
basicPerceptionUpdateR [0] >=>
|
||||
targetYouWhenCognizantR >=>
|
||||
{ _crUpdate = stateUpdate $ --dummyUpdate
|
||||
impulsiveAIR $
|
||||
--doStrategyActionsR >=>
|
||||
--performActionsR >=>
|
||||
--overrideMeleeCloseTargetR >=>
|
||||
--chaseTargetR targetYouLOS >=>
|
||||
--basicPerceptionUpdateR [0] >=>
|
||||
--targetYouWhenCognizantR >=>
|
||||
return . (crMeleeCooldown . _Just %~ max 0 . subtract 1)
|
||||
, _crHP = 300
|
||||
, _crPict = basicCrPict green
|
||||
|
||||
Reference in New Issue
Block a user