This commit is contained in:
2025-11-21 11:02:37 +00:00
parent 9c94e1b3f3
commit f9f4fc02ea
6 changed files with 101 additions and 112 deletions
+5 -2
View File
@@ -1,12 +1,15 @@
module Dodge.Humanoid (chaseCritInternal) where
import Data.Foldable
import Dodge.Creature
import Dodge.Data.World
import LensHelp
chaseCritInternal :: World -> Creature -> Creature
chaseCritInternal =
chainCreatureUpdates
chaseCritInternal w cr =
foldl'
(\c f -> f w c)
cr
[ const doStrategyActions
, overrideMeleeCloseTarget
, setViewPos