Cleanup
This commit is contained in:
@@ -31,18 +31,18 @@ spreadGunCrit = defaultCreature
|
||||
[Left performActions
|
||||
,Left $ watchUpdateStrat
|
||||
[ (crHasTargetLOS, \_ _ -> StrategyActions (ShootAt 0)
|
||||
[DoActionIf (not . crIsAiming) drawWeapon
|
||||
[DoActionIf (const $ not . crIsAiming) drawWeapon
|
||||
,DoActionThen
|
||||
(DoActionWhile crHasTargetLOS $ ArbitraryAction chooseMovement)
|
||||
(DoActionWhile crHasTargetLOS' $ ArbitraryAction chooseMovement)
|
||||
(DoImpulses [ChangeStrategy WatchAndWait])
|
||||
]
|
||||
)
|
||||
, (crAwayFromPost, goToPostStrat)
|
||||
, (const crAwayFromPost, const goToPostStrat)
|
||||
]
|
||||
,Left $ perceptionUpdate' [0]
|
||||
,Right $ doStrategyActions
|
||||
,Right $ reloadOverride
|
||||
,Left $ targetYouWhenCognizant
|
||||
,Right doStrategyActions
|
||||
,Right reloadOverride
|
||||
,Left targetYouWhenCognizant
|
||||
,Right $ overrideInternal
|
||||
(\cr -> crHasTarget' cr && crStratConMatches' (GetTo (V2 0 0)) cr)
|
||||
(\ cr -> cr & crActionPlan . crStrategy .~ WatchAndWait)
|
||||
|
||||
Reference in New Issue
Block a user