[MIRROR] Changes some elements of punch code and shredding (#12373)

Co-authored-by: Olive <49600480+zeskorion@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-02-08 23:59:14 +01:00
committed by GitHub
co-authored by Olive
parent b5c74e2215
commit 706132899e
11 changed files with 37 additions and 27 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
var/attack_message = "kicks"
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(H.species.can_shred(H))
if(H.species.can_shred(H, FALSE, 10))
attack_message = "mangles"
damage_dealt = 5
+3 -2
View File
@@ -201,8 +201,9 @@
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(H.species.can_shred(H))
attack_generic(H,25)
var/shreddamage = H.species.can_shred(H, FALSE, 15)
if(shreddamage)
attack_generic(H, shreddamage + 5, "attacks")
return
playsound(src, 'sound/effects/glassknock.ogg', 80, 1)