CanTickDown bool on the base cooldown
This commit is contained in:
1 parent
542b7d5e52
commit
fd8fbf2011
1 file changed
+7
@@ -60,5 +60,12 @@ namespace CalamityMod.UI.CooldownIndicators
|
||||
/// Method used to determine the color of the bar around the icon when in advanced mode
|
||||
/// </summary>
|
||||
public virtual Color CooldownColor(float completionRatio) => Color.White;
|
||||
|
||||
/// <summary>
|
||||
/// Determines if the cooldown can tick down. Useful for cooldowns that don't tick down when bosses are alive for example
|
||||
/// </summary>
|
||||
/// <param name="player"></param>
|
||||
/// <returns></returns>
|
||||
public virtual bool CanTickDown() => true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user