Work on crab

This commit is contained in:
2026-04-07 23:22:56 +01:00
parent 333f2875cb
commit 707ccae971
6 changed files with 34 additions and 13 deletions
+3 -2
View File
@@ -29,7 +29,8 @@ chaseCritInternal w cr =
crabCritInternal :: World -> Creature -> Creature
crabCritInternal w =
(crVocalization %~ updateVocTimer)
. (crType . meleeCooldown %~ max 0 . subtract 1)
. (crType . meleeCooldownL %~ max 0 . subtract 1)
. (crType . meleeCooldownR %~ max 0 . subtract 1)
. (crType . dodgeCooldown %~ max 0 . subtract 1)
. searchIfDamaged
. targetYouWhenCognizant w
@@ -37,7 +38,7 @@ crabCritInternal w =
. crabCritMv w
. setMvPosToTargetCr w
. setViewPos w
. overrideMeleeCloseTarget w
-- . overrideMeleeCloseTarget w
. doStrategyActions
hoverCritInternal :: World -> Creature -> Creature