Skip to content

Commit

Permalink
TGS Test Merge (#7619)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Nov 18, 2024
2 parents 1fd2893 + 78aa56e commit 883a262
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,16 @@ Make sure their actual health updates immediately.*/
set_stat(UNCONSCIOUS)
SEND_SIGNAL(src, COMSIG_XENO_ENTER_CRIT)

/mob/living/carbon/xenomorph/adjustBruteLoss(amount)
if(status_flags & GODMODE)
return //godmode
bruteloss = max(bruteloss + amount, 0)

/mob/living/carbon/xenomorph/adjustFireLoss(amount)
if(status_flags & GODMODE)
return //godmode
fireloss = max(fireloss + amount, 0)

/mob/living/carbon/xenomorph/set_stat(new_stat)
. = ..()
// Temporarily force triggering HUD updates so they apply immediately rather than on Life tick.
Expand Down

0 comments on commit 883a262

Please sign in to comment.