Fixes Gloves of the North Star exploit. (#15762)

* Fixes Gloves of the North Star exploit.

* Update miscellaneous.dm

* Update miscellaneous.dm

* Create miscellaneous.dm

* Update code/modules/clothing/gloves/miscellaneous.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* Update code/modules/clothing/gloves/miscellaneous.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
LordShekelstein
2021-03-31 19:37:58 +01:00
committed by GitHub
co-authored by SteelSlayer
parent 43104f8826
commit dc08268e67
@@ -166,7 +166,7 @@
var/mob/living/M = loc
if(M.a_intent in accepted_intents)
if(istype(M.mind.martial_art, /datum/martial_art/cqc))
if(M.mind.martial_art || HAS_TRAIT(M, TRAIT_HULK))
M.changeNext_move(CLICK_CD_MELEE)//normal attack speed for hulk, CQC and Carp.
else
M.changeNext_move(click_speed_modifier)