Add randomness to multiple crab evasions

This commit is contained in:
2026-04-09 13:28:39 +01:00
parent 0a8a2210c0
commit c8a06bc084
14 changed files with 194 additions and 179 deletions
+1
View File
@@ -47,6 +47,7 @@ data Impulse
| AddGoal Goal
| ImpulseUseTarget { _impulseUseTarget :: CrImp }
| ImpulseNothing
| UpdateRandGen
deriving (Eq, Ord, Show) --Generic, Flat)
data RandImpulse
-2
View File
@@ -61,8 +61,6 @@ data CreatureType
| CrabCrit
{ _meleeCooldownL :: Int
, _meleeCooldownR :: Int
, _footForward :: FootForward
, _strideAmount :: Float
, _dodgeCooldown :: Int
, _lFootPos :: Point2
, _rFootPos :: Point2
+1
View File
@@ -13,6 +13,7 @@ data SoundOrigin
| BackgroundSound
| OnceSound
| CrSound Int
| CrFootSound Int Int
| CrMouth Int
| CrChasm Int
| CrWeaponSound Int Int