mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-28 22:46:22 +01:00
Reworks empulse and emp_act
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user