From ccafacd5b3eb634979f4a80082761379956676f2 Mon Sep 17 00:00:00 2001
From: FloFluoro <3611705+FloFluoro@users.noreply.github.com>
Date: Fri, 22 Jul 2022 11:34:10 -0400
Subject: [PATCH] Changes Xenomorph instastuns to knockdown+stamina (#18450)
* Changes Xenomorph instastuns to knockdown+stamina
* Hunter pounce stam damage increased to 40
---
code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm | 3 ++-
code/modules/mob/living/carbon/human/human_defense.dm | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm
index 91523d8e911..64e1d280b2c 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm
@@ -82,7 +82,8 @@
L.visible_message("[src] pounces on [L]!", "[src] pounces on you!")
if(ishuman(L))
var/mob/living/carbon/human/H = L
- H.apply_effect(10 SECONDS, WEAKEN, H.run_armor_check(null, MELEE))
+ H.apply_effect(10 SECONDS, KNOCKDOWN, H.run_armor_check(null, MELEE))
+ H.adjustStaminaLoss(40)
else
L.Weaken(10 SECONDS)
sleep(2)//Runtime prevention (infinite bump() calls on hulks)
diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm
index bf4e761beed..ffc3aa1b5f2 100644
--- a/code/modules/mob/living/carbon/human/human_defense.dm
+++ b/code/modules/mob/living/carbon/human/human_defense.dm
@@ -646,7 +646,8 @@ emp_act
else
var/obj/item/organ/external/affecting = get_organ(ran_zone(M.zone_selected))
playsound(loc, 'sound/weapons/pierce.ogg', 25, 1, -1)
- apply_effect(10 SECONDS, WEAKEN, run_armor_check(affecting, MELEE))
+ apply_effect(10 SECONDS, KNOCKDOWN, run_armor_check(affecting, MELEE))
+ adjustStaminaLoss(30)
add_attack_logs(M, src, "Alien tackled")
visible_message("[M] has tackled down [src]!")