Fix crsHitRadial, unify some radial damages
This commit is contained in:
@@ -18,7 +18,7 @@ fallSmallBounceDamage pr w =
|
||||
p = _prPos pr
|
||||
v = _prVel pr
|
||||
dodamage
|
||||
| _prPosZ pr < 25 = damageInCircle (const [thedam]) p 5
|
||||
| _prPosZ pr < 25 = damageInCircle (const thedam) p 5
|
||||
-- cWorld . lWorld . creatures . each %~ dodamage'
|
||||
| otherwise = id
|
||||
thedam = Crushing (floor . (* 10) . max 0 . subtract 5 . abs $ _prVelZ pr) v
|
||||
|
||||
Reference in New Issue
Block a user