mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
Merge pull request #6354 from MagmaRam/eyestabs
Adds proper miss chance for stabbing people in the eyes.
This commit is contained in:
@@ -147,6 +147,8 @@ proc/getsensorlevel(A)
|
||||
var/miss_chance = 10
|
||||
if (zone in base_miss_chance)
|
||||
miss_chance = base_miss_chance[zone]
|
||||
if (zone == "eyes" || zone == "mouth")
|
||||
miss_chance = base_miss_chance["head"]
|
||||
miss_chance = max(miss_chance + miss_chance_mod, 0)
|
||||
if(prob(miss_chance))
|
||||
if(prob(70))
|
||||
|
||||
Reference in New Issue
Block a user