Adds cooldown to Xenomorph neurotoxin, changes stun to knockdown (#18919)

* Adds cooldown to Xenomorph neurotoxin, changes stun to knockdown

* Neurotoxin now works when implanted in humans

* Tidying

* More tidying

* More tidying
This commit is contained in:
FloFluoro
2022-08-31 13:19:03 +01:00
committed by GitHub
parent 9e5999e8bc
commit 92f6d88b35
3 changed files with 11 additions and 5 deletions
@@ -282,12 +282,13 @@
icon_state = "neurotoxin"
damage = 5
damage_type = TOX
weaken = 10 SECONDS
stamina = 40
knockdown = 10 SECONDS
/obj/item/projectile/bullet/neurotoxin/on_hit(atom/target, blocked = 0)
if(isalien(target))
weaken = 0
nodamage = 1
knockdown = 0
nodamage = TRUE
. = ..() // Execute the rest of the code.
/obj/item/projectile/bullet/cap