From e7130e7d2e4bce3e69c6495d94e96488850d34c8 Mon Sep 17 00:00:00 2001 From: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com> Date: Tue, 10 Aug 2021 06:59:23 -0400 Subject: [PATCH] Returns default AI behavior cooldown to .8 seconds (#60579) Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> --- code/datums/ai/_ai_behavior.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/ai/_ai_behavior.dm b/code/datums/ai/_ai_behavior.dm index e441236db2c..eb91a647744 100644 --- a/code/datums/ai/_ai_behavior.dm +++ b/code/datums/ai/_ai_behavior.dm @@ -4,8 +4,8 @@ var/required_distance = 1 ///Flags for extra behavior var/behavior_flags = NONE - ///Cooldown between actions performances - var/action_cooldown = 0 + ///Cooldown between actions performances, defaults to the value of CLICK_CD_MELEE because that seemed like a nice standard for the speed of AI behavior + var/action_cooldown = CLICK_CD_MELEE /// Called by the ai controller when first being added. Additional arguments depend on the behavior type. /// Return FALSE to cancel