From 29ee05fb8f245055aa87ee56243aafc66a0392db Mon Sep 17 00:00:00 2001 From: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Date: Fri, 20 Jan 2023 18:20:01 -0600 Subject: [PATCH] parry CD fix (#20259) --- code/__DEFINES/misc.dm | 1 + code/datums/components/parry.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/__DEFINES/misc.dm b/code/__DEFINES/misc.dm index c768421c54d..7cadee39097 100644 --- a/code/__DEFINES/misc.dm +++ b/code/__DEFINES/misc.dm @@ -26,6 +26,7 @@ #define CLICK_CD_TKSTRANGLE 10 #define CLICK_CD_POINT 10 #define CLICK_CD_RESIST 8 +#define CLICK_CD_PARRY 8 #define CLICK_CD_CLICK_ABILITY 6 #define CLICK_CD_RAPID 2 diff --git a/code/datums/components/parry.dm b/code/datums/components/parry.dm index c9c03359543..2747d11801b 100644 --- a/code/datums/components/parry.dm +++ b/code/datums/components/parry.dm @@ -77,6 +77,7 @@ return time_parried = world.time + L.changeNext_move(CLICK_CD_PARRY) L.do_attack_animation(L, used_item = parent) /datum/component/parry/proc/attempt_parry(datum/source, mob/living/carbon/human/owner, atom/movable/hitby, damage = 0, attack_type = MELEE_ATTACK)