Skip to content

Commit

Permalink
Change being drunk to only randomly shrug off punches, not item attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmunora committed Apr 15, 2021
1 parent 0668d04 commit 98a22ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/mob/melee_attack_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@
return null

/mob/living/check_attack_resistance(var/obj/item/I)
if (reagents?.get_reagent_amount("ethanol") >= 100 && prob(40) && (!I || I.force <= 15))
if (reagents?.get_reagent_amount("ethanol") >= 100 && prob(40) && !I)
return "<span class='alert'>You drunkenly shrug off the blow!</span>"
return null

Expand Down

0 comments on commit 98a22ba

Please sign in to comment.