mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
min -> max (#22165)
This commit is contained in:
committed by
MadmanMartian
parent
ced5d4a70e
commit
3f759dafa6
@@ -103,7 +103,7 @@
|
||||
return
|
||||
playsound(loc, 'sound/items/hammer_strike.ogg', 50, 1)
|
||||
if(istype(A,/obj/item/weapon/hammer))
|
||||
strikes+=min(1, round(A.quality/2))
|
||||
strikes+=max(1, round(A.quality/2))
|
||||
else if(istype(A,/obj/item/weapon/storage/toolbox))
|
||||
strikes+=0.25
|
||||
if(strikes == strikes_required)
|
||||
|
||||
Reference in New Issue
Block a user