Skip to content

Commit

Permalink
GODHEAD has appeared in the basement! (#27470)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwertytoforty authored Nov 29, 2024
1 parent 32b97af commit 8ad28af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/human/species/_species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@
return

/datum/species/proc/apply_damage(damage = 0, damagetype = BRUTE, def_zone, blocked = 0, mob/living/carbon/human/H, sharp = FALSE, obj/used_weapon, spread_damage = FALSE)
if(H.status_flags & GODMODE)
return FALSE //godmode
SEND_SIGNAL(H, COMSIG_MOB_APPLY_DAMAGE, damage, damagetype, def_zone)
if(!damage)
return FALSE
Expand Down

0 comments on commit 8ad28af

Please sign in to comment.