Broken commit (removed loadKeyConfig)
This commit is contained in:
@@ -87,7 +87,7 @@ followImpulse cr w imp = case imp of
|
||||
posFromID cid = _crPos $ _creatures w IM.! cid
|
||||
rr a = fst $ randomR (-a,a) $ _randGen w
|
||||
hitCr i = over (creatures . ix i . crState . crDamage) (addDam i)
|
||||
. soundOnce (fromIntegral hitSound)
|
||||
. soundOnce hitSound
|
||||
addDam i dams = Blunt 100 cpos (posFromID i) (posFromID i) : dams
|
||||
|
||||
actionUpdateAI
|
||||
|
||||
Reference in New Issue
Block a user