From 1cc69a731644a40d86a57a87d5a5a1fbf0d664f0 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Thu, 27 Jul 2023 09:55:36 -0500 Subject: [PATCH] makes black terrors and white terrors better (#21814) * makes black terrors and white terrors better * I expect you to die * Update code/modules/mob/living/simple_animal/hostile/terror_spiders/black.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --- .../mob/living/simple_animal/hostile/terror_spiders/black.dm | 5 +++-- .../mob/living/simple_animal/hostile/terror_spiders/white.dm | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/black.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/black.dm index 456c7d1389c..e0416e2c3a4 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/black.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/black.dm @@ -34,12 +34,13 @@ if(L.reagents.has_reagent("terror_black_toxin", 100)) return ..() var/inject_target = pick("chest", "head") - if(L.IsStunned() || L.can_inject(null, FALSE, inject_target, FALSE)) + L.adjustStaminaLoss(30) + L.attack_animal(src) + if(L.can_inject(null, FALSE, inject_target, FALSE) || (HAS_TRAIT(L, TRAIT_HANDS_BLOCKED) && HAS_TRAIT(L, TRAIT_IMMOBILIZED))) L.reagents.add_reagent("terror_black_toxin", 30) // inject our special poison visible_message("[src] buries its long fangs deep into the [inject_target] of [target]!") else visible_message("[src] bites [target], but cannot inject venom into [target.p_their()] [inject_target]!") - L.attack_animal(src) if(!ckey && (!(target in enemies) || L.reagents.has_reagent("terror_black_toxin", 60))) step_away(src, L) step_away(src, L) diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/white.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/white.dm index cdeb77dd961..6fe2bc6e0e8 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/white.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/white.dm @@ -40,7 +40,8 @@ var/inject_target = pick("chest","head") L.attack_animal(src) L.KnockDown(10 SECONDS) - if(L.IsStunned() || L.IsParalyzed() || L.can_inject(null, FALSE, inject_target, FALSE)) + L.adjustStaminaLoss(30) + if(L.can_inject(null, FALSE, inject_target, FALSE) || (HAS_TRAIT(L, TRAIT_HANDS_BLOCKED) && HAS_TRAIT(L, TRAIT_IMMOBILIZED))) if(!IsTSInfected(L) && ishuman(L)) visible_message("[src] buries its long fangs deep into the [inject_target] of [L]!") new /obj/item/organ/internal/body_egg/terror_eggs(L)