Add jitter when receiving damage

This commit is contained in:
2022-05-19 12:41:20 +01:00
parent 41e5538eb7
commit 6ba41d3c0b
4 changed files with 26 additions and 2 deletions
+1
View File
@@ -282,6 +282,7 @@ data Creature = Creature
, _crState :: CreatureState
, _crCorpse :: Picture
, _crApplyDamage :: [Damage] -> Creature -> World -> World
, _crPastDamage :: Int
, _crStance :: Stance
, _crActionPlan :: ActionPlan
, _crMeleeCooldown :: Int