Move creature speed parameters into explicit data
This commit is contained in:
@@ -42,7 +42,15 @@ armourChaseCrit = defaultCreature
|
||||
]
|
||||
, _crMeleeCooldown = 0
|
||||
, _crGroup = ShieldGroup
|
||||
}
|
||||
, _crMvType = ChaseMvType
|
||||
{ _chaseSpeed = 2.5
|
||||
, _chaseTurnRad = f
|
||||
, _chaseTurnJit = 0.2
|
||||
}
|
||||
}
|
||||
where
|
||||
f x | x > pi / 4 = 0.2
|
||||
| otherwise = 0.05
|
||||
|
||||
flockACCR :: Creature -> Reader World Creature
|
||||
flockACCR = reader . flockACC
|
||||
|
||||
Reference in New Issue
Block a user