cmd/horsebot: don't state instantaneous for recoveries
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user