cmd/horsebot: don't state instantaneous for recoveries

This commit is contained in:
2026-04-07 19:24:57 -04:00
parent 0abe5fc3e4
commit af8edb8999

View File

@@ -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: