mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Fixes Kneebreaker Hammer (#14509)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user