thrown stunbaton damage fix

This commit is contained in:
ZomgPonies
2013-09-13 13:30:04 -04:00
parent 37d5fecd9e
commit 2e1380adbc
+1 -3
View File
@@ -100,6 +100,7 @@
add_fingerprint(user)
/obj/item/weapon/melee/baton/throw_impact(atom/hit_atom)
. = ..()
if (prob(50))
if(istype(hit_atom, /mob/living))
var/mob/living/carbon/human/H = hit_atom
@@ -118,9 +119,6 @@
H.attack_log += "\[[time_stamp()]\]<font color='orange'> Stunned by thrown [src.name] last touched by ([src.fingerprintslast])</font>"
log_attack("Flying [src.name], last touched by ([src.fingerprintslast]) stunned [H.name] ([H.ckey])" )
return
return ..()
/obj/item/weapon/melee/baton/emp_act(severity)
switch(severity)
if(1)