From af8edb8999d22adc7879dce67f51fc6f53330f8c Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Tue, 7 Apr 2026 19:24:57 -0400 Subject: [PATCH] cmd/horsebot: don't state instantaneous for recoveries --- cmd/horsebot/skill.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/horsebot/skill.go b/cmd/horsebot/skill.go index a749df0..7319472 100644 --- a/cmd/horsebot/skill.go +++ b/cmd/horsebot/skill.go @@ -174,10 +174,8 @@ func (s *skillServer) render(id horse.SkillID) discord.ContainerComponent { text = append(text, "Condition: "+formatCondition(act.Condition)) var t string switch { - case act.Duration < 0: - // passive; do nothing - case act.Duration == 0: - t = "Instantaneous " + case act.Duration <= 0: + // passive or instantaneous, e.g. recoveries; do nothing case act.Duration >= 500e4: t = "Permanent " case act.DurScale == horse.DurationDirect: