Unarmed Attack Fixes (#17078)

Fixes a lot of bugs with Unarmed Attack logic.

- You can not stomp while buckled now.
- You can not kick while buckled now.
- You can not bite while buckled now.

- Fixes it so the click code can properly get to unarmed attack code now, allowing it to run it's proper checks to see if you can attack or not instead of just always returning false.

- Changes some vars from 0 to FALSE where indicated.
- Gets rid of some needless = FALSE when it was already on the parent

- Fixes gloves increasing damage on anything other than punches.
This commit is contained in:
Cameron Lennox
2025-02-08 14:08:08 -05:00
committed by GitHub
parent fe97f7675f
commit 193e5e6eaf
6 changed files with 55 additions and 40 deletions
+1
View File
@@ -148,6 +148,7 @@
/datum/unarmed_attack/holopugilism
sparring_variant_type = /datum/unarmed_attack/holopugilism
is_punch = TRUE
/datum/unarmed_attack/holopugilism/unarmed_override(var/mob/living/carbon/human/user,var/mob/living/carbon/human/target,var/zone)
user.do_attack_animation(src)