Kills Armor RNG

Ports over non-RNG armor from /tg/, currently is having issues with
thrown items (no damage if armored).
This commit is contained in:
DZD
2015-01-17 20:22:12 -05:00
parent c4913deff2
commit 648a5c8fb4
6 changed files with 52 additions and 59 deletions
@@ -75,14 +75,14 @@
/obj/effect/accelerated_particle/proc/toxmob(var/mob/living/M)
var/radiation = (energy*2)
/* if(istype(M,/mob/living/carbon/human))
/*var/radiation = (energy*2)
if(istype(M,/mob/living/carbon/human))
if(M:wear_suit) //TODO: check for radiation protection
radiation = round(radiation/2,1)
if(istype(M,/mob/living/carbon/monkey))
if(M:wear_suit) //TODO: check for radiation protection
radiation = round(radiation/2,1)*/
M.apply_effect((radiation*3),IRRADIATE,0)
M.apply_effect((energy*6),IRRADIATE,0)
M.updatehealth()
//M << "\red You feel odd."
return