Implement randomised markings on sensors
This commit is contained in:
@@ -63,11 +63,6 @@ bulPenCr' bt p cr w = w
|
||||
& bulletHitSound ep
|
||||
& creatures . ix cid . crState . crDamage .++~
|
||||
damageGamut 50 50 d1 sp p ep
|
||||
-- [Damage Piercing 50 sp p ep NoDamageEffect
|
||||
-- ,Damage Blunt 50 sp p ep NoDamageEffect
|
||||
-- ,Damage TorqueDam 1 sp p ep $ TorqueDamage d1
|
||||
-- ,Damage PushDam 1 sp p ep . PushBackDamage $ 3 *.* (ep -.- sp)
|
||||
-- ]
|
||||
where
|
||||
(d1,_) = randomR (-0.7,0.7) $ _randGen w
|
||||
cid = _crID cr
|
||||
|
||||
Reference in New Issue
Block a user