Merge pull request #8426 from mwerezak/misc

Penetrating bullets are now more likely to go through glass doors
This commit is contained in:
PsiOmegaDelta
2015-03-10 09:26:11 +01:00

View File

@@ -47,6 +47,7 @@
else if(istype(A, /obj/machinery/door))
var/obj/machinery/door/D = A
chance = round(damage/D.maxhealth*180)
if(D.glass) chance *= 2
else if(istype(A, /obj/structure/girder) || istype(A, /obj/structure/cultgirder))
chance = 100
else if(istype(A, /obj/machinery) || istype(A, /obj/structure))