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: