Files
GS13NG/code/modules/projectiles/projectile/special/neurotoxin.dm
T
2020-04-22 08:35:08 -07:00

17 lines
411 B
Plaintext

/obj/item/projectile/bullet/neurotoxin
name = "neurotoxin spit"
icon_state = "neurotoxin"
damage = 15
damage_type = TOX
var/stagger_duration = 8 SECONDS
/obj/item/projectile/bullet/neurotoxin/on_hit(atom/target, blocked = FALSE)
if(isalien(target))
knockdown = 0
nodamage = TRUE
else if(iscarbon(target))
var/mob/living/L = target
L.KnockToFloor(TRUE)
L.Stagger(stagger_duration)
return ..()