I tested it with this bottom setup and for some reason it does not work!?
Code:
Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
{
plugin.RuleCalculator.Rules.Add(new BuffRule(Hud.Sno.SnoPowers.SteuartsGreaves.Sno) { IconIndex = 1, ShowTimeLeft = true });
Hud.Debug("PlayerBottomBuffListPlugin.RuleCalculator.Rules " + plugin.RuleCalculator.Rules.Count);
});
I can see that the buff works as expected when I debug it, buff.IconCounts[1] contains "active flag" and respectively buff.TimeElapsedSeconds[1] and buff.TimeLeftSeconds[1] has correct values.
I'm lost how it should work. But surely somebody knows better!