From 570474352d599c681a3a1612a5e5b1f6b02d409a Mon Sep 17 00:00:00 2001 From: Helg2 Date: Thu, 22 Aug 2024 16:55:59 +0300 Subject: [PATCH] shiz --- code/game/objects/structures/xeno.dm | 7 ++----- code/game/turfs/walls/resin.dm | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/code/game/objects/structures/xeno.dm b/code/game/objects/structures/xeno.dm index 72de3f6ccf4..8ebbc15a213 100644 --- a/code/game/objects/structures/xeno.dm +++ b/code/game/objects/structures/xeno.dm @@ -106,10 +106,7 @@ if(xeno_attacker.status_flags & INCORPOREAL) return FALSE - if(xeno_attacker.a_intent != INTENT_DISARM) - return FALSE - - if(xeno_attacker.a_intent == INTENT_DISARM) + if(xeno_attacker.a_intent == INTENT_HARM) if(CHECK_BITFIELD(SSticker.mode?.flags_round_type, MODE_ALLOW_XENO_QUICKBUILD) && SSresinshaping.should_refund(src, xeno_attacker) && refundable) SSresinshaping.decrement_build_counter(xeno_attacker) xeno_attacker.do_attack_animation(src, ATTACK_EFFECT_CLAW) @@ -184,7 +181,7 @@ var/turf/cur_loc = xeno_attacker.loc if(!istype(cur_loc)) return FALSE - if(xeno_attacker.a_intent != INTENT_DISARM) + if(xeno_attacker.a_intent != INTENT_HARM) try_toggle_state(xeno_attacker) return TRUE if(CHECK_BITFIELD(SSticker.mode?.flags_round_type, MODE_ALLOW_XENO_QUICKBUILD) && SSresinshaping.should_refund(src, xeno_attacker)) diff --git a/code/game/turfs/walls/resin.dm b/code/game/turfs/walls/resin.dm index 3b3e26e39c1..e85a118b0ed 100644 --- a/code/game/turfs/walls/resin.dm +++ b/code/game/turfs/walls/resin.dm @@ -67,7 +67,7 @@ /turf/closed/wall/resin/attack_alien(mob/living/carbon/xenomorph/xeno_attacker, damage_amount = xeno_attacker.xeno_caste.melee_damage, damage_type = BRUTE, damage_flag = MELEE, effects = TRUE, armor_penetration = 0, isrightclick = FALSE) if(xeno_attacker.status_flags & INCORPOREAL) return - if(xeno_attacker.a_intent != INTENT_DISARM) + if(xeno_attacker.a_intent != INTENT_HARM) return if(CHECK_BITFIELD(SSticker.mode?.flags_round_type, MODE_ALLOW_XENO_QUICKBUILD) && SSresinshaping.should_refund(src, xeno_attacker)) SSresinshaping.decrement_build_counter(xeno_attacker)