Skip to content

Commit

Permalink
shiz (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 authored Aug 22, 2024
1 parent 65cc135 commit a4d4fb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions code/game/objects/structures/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion code/game/turfs/walls/resin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a4d4fb9

Please sign in to comment.