From fd8fbf2011a457509bace8ea73324d2c254d560f Mon Sep 17 00:00:00 2001 From: IbanPlay <56191483+IbanPlay@users.noreply.github.com> Date: Tue, 15 Feb 2022 04:19:40 +0100 Subject: [PATCH] CanTickDown bool on the base cooldown --- UI/CooldownIndicators/CooldownIndicator.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/UI/CooldownIndicators/CooldownIndicator.cs b/UI/CooldownIndicators/CooldownIndicator.cs index a683eff78a..f8d7ea72c4 100644 --- a/UI/CooldownIndicators/CooldownIndicator.cs +++ b/UI/CooldownIndicators/CooldownIndicator.cs @@ -60,5 +60,12 @@ namespace CalamityMod.UI.CooldownIndicators /// Method used to determine the color of the bar around the icon when in advanced mode /// public virtual Color CooldownColor(float completionRatio) => Color.White; + + /// + /// Determines if the cooldown can tick down. Useful for cooldowns that don't tick down when bosses are alive for example + /// + /// + /// + public virtual bool CanTickDown() => true; } }