Skip to content

Commit

Permalink
Slightly more chances to not die instantly from a headshot
Browse files Browse the repository at this point in the history
  • Loading branch information
savethetreez committed Jan 27, 2024
1 parent 83e4441 commit 4409c81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/game/mob/living/living_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
instadeath = 5
if (instadeath > 0)
if (prob(instadeath))
death()
adjustBrainLoss(rand(30,60))
H.instadeath_check()
if (!P.nodamage)
apply_damage(damage, P.damage_type, def_zone, absorb, P, sharp=proj_sharp, edge=proj_edge)

Expand Down

0 comments on commit 4409c81

Please sign in to comment.