I have several lines in my PluginEnablerOrDisablerPlugin.cs file that allow me to see buffs
Code:
Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin => {
plugin.BuffPainter = new BuffPainter(Hud, true)
{
Opacity = 0.75f,
ShowTimeLeftNumbers = true,
ShowTooltips = false,
TimeLeftFont = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true),
StackFont = Hud.Render.CreateFont("tahoma", 6, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true),
};
plugin.RuleCalculator.SizeMultiplier = 1.00f;
plugin.RuleCalculator.Rules.Add(new BuffRule(67616) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true, IconSizeMultiplier = 1 }); // Soul Harvest
How would I switch this to tracking the cooldown of the spell itself (Soul Harvest) and not the actual buff. The problem here is that the buff lasts 30 seconds, but the cooldown is up long before then. Is there a way to select the spell cooldown itself for the bar instead of the buff.
Edit. I know there's a plugin that already plays a sound when various cds are up, that's not what I want. I specifically want a visual indicator, much like the ones already present in game, but moved to a more reasonable location like the turbohud bottom buffbar, or left, right, top, etc.