Skip to content

Commit

Permalink
adds faction group target support
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 28, 2023
1 parent 925abd7 commit 90c91f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ GLOBAL_LIST_INIT(ai_target_limbs, list(

if(z != alive_human.z)
continue

if(FACTION_XENOMORPH in alive_human.faction_group)
continue

var/distance = get_dist(src, alive_human)

if(distance < ai_range && alive_human.stat == CONSCIOUS)
Expand Down

0 comments on commit 90c91f8

Please sign in to comment.