Fixes Kneebreaker Hammer (#14509)

This commit is contained in:
Doc
2022-07-28 12:27:19 +02:00
committed by GitHub
parent cef5e6fe4b
commit 4f639363d2
2 changed files with 48 additions and 0 deletions
@@ -79,6 +79,13 @@
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_MATERIAL = 3, TECH_ILLEGAL = 2)
/obj/item/melee/hammer/iscrowbar()
if(ismob(loc))
var/mob/M = loc
if(M.a_intent && M.a_intent == I_HURT)
return FALSE
return TRUE
/obj/item/melee/hammer/ishammer()
return TRUE