mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
Offhand gun doesn't decrease probability of accidental shot now.
This commit is contained in:
@@ -216,11 +216,11 @@
|
||||
|
||||
if (istype(l_hand,/obj/item/weapon/gun))
|
||||
W = l_hand
|
||||
chance = hand ? 40 : 20
|
||||
chance += hand ? 40 : 20
|
||||
|
||||
else if (istype(r_hand,/obj/item/weapon/gun))
|
||||
W = r_hand
|
||||
chance = !hand ? 40 : 20
|
||||
chance += !hand ? 40 : 20
|
||||
|
||||
if (prob(chance))
|
||||
visible_message("<span class='danger'>[src]'s [W.name] goes off during struggle!")
|
||||
|
||||
Reference in New Issue
Block a user