Merge pull request #7798 from Citadel-Station-13/kevinz000-patch-18

nerfs family heirloom to not work on things above or at 18 deflection and not work on items
This commit is contained in:
deathride58
2018-12-20 03:24:47 -05:00
committed by GitHub

View File

@@ -88,8 +88,10 @@
. = ..()
if(proximity)
if(isobj(A))
var/obj/O = A
O.take_damage(20)
var/obj/machinery/door/O = A
if(istype(O) && (O.damage_deflection >= 10)) //Eh fine. //This is a meme cast do not do what I did!
return
O.take_damage(13)
/obj/item/storage/toolbox/mechanical/old/heirloom/PopulateContents()
return