Skip to content

Commit

Permalink
Hopefully doesnt break the ai
Browse files Browse the repository at this point in the history
  • Loading branch information
Merrgear committed Jul 20, 2024
1 parent d12b65f commit 724b549
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/datums/effects/mob_crit/human_crit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
qdel(src)
return FALSE

affected_mob.apply_effect(3, PARALYZE)
affected_mob.apply_effect(3, WEAKEN)
if(!affected_mob.reagents || !affected_mob.reagents.has_reagent("inaprovaline"))
affected_mob.apply_damage(1, OXY)

Expand Down
4 changes: 2 additions & 2 deletions code/datums/effects/pain/human_pain.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

var/mob/living/carbon/affected_mob = affected_atom
if(do_once)
affected_mob.apply_effect(3, PARALYZE)
affected_mob.apply_effect(3, WEAKEN)
do_once = FALSE

affected_mob.EyeBlur(2)
Expand All @@ -83,7 +83,7 @@
affected_mob.EyeBlur(2)
if(affected_mob.pain && affected_mob.pain.feels_pain)
affected_mob.TalkStutter(2)
affected_mob.apply_effect(2, PARALYZE)
affected_mob.apply_effect(2, WEAKEN)
if(!affected_mob.reagents || !affected_mob.reagents.has_reagent("inaprovaline"))
affected_mob.apply_damage(0.5, OXY)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

//UNCONSCIOUS. NO-ONE IS HOME
if(regular_update && ((getOxyLoss() > 50)))
apply_effect(3, PARALYZE)
apply_effect(3, WEAKEN)

if((src.species.flags & HAS_HARDCRIT) && HEALTH_THRESHOLD_CRIT > health)
var/already_in_crit = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ At bare minimum, make sure the relevant checks from parent types gets copied in
// MOBS //
/////////////////////////////
/mob/living/ai_check_stat(mob/living/carbon/xenomorph/X)
return stat == CONSCIOUS
return stat == CONSCIOUS && !(HAS_TRAIT(src, TRAIT_FLOORED) && HAS_TRAIT(src, TRAIT_INCAPACITATED))


/////////////////////////////
Expand Down

0 comments on commit 724b549

Please sign in to comment.