Reworks empulse and emp_act

This commit is contained in:
Anewbe
2017-03-05 12:22:45 -06:00
parent 3f9d6d8b50
commit 19710d9bd8
42 changed files with 274 additions and 83 deletions
+7 -1
View File
@@ -84,8 +84,14 @@
if(1)
qdel(src)
if(2)
if(prob(75))
qdel(src)
if(3)
if(prob(50))
qdel(src)
if(4)
if(prob(25))
qdel(src)
/obj/machinery/shield/hitby(AM as mob|obj)
@@ -264,7 +270,7 @@
else
user << "The device must first be secured to the floor."
return
/obj/machinery/shieldgen/emag_act(var/remaining_charges, var/mob/user)
if(!malfunction)
malfunction = 1