diff --git a/cmd/horsebot/skill.go b/cmd/horsebot/skill.go index 96230a6..fd97325 100644 --- a/cmd/horsebot/skill.go +++ b/cmd/horsebot/skill.go @@ -217,8 +217,6 @@ func (s *skillServer) render(id horse.SkillID) discord.ContainerComponent { emoji = "🟡" case rs.GroupRate == -1: emoji = "🟣" - default: - emoji = "⁉️" } b := discord.NewStringSelectMenuOption(name, strconv.Itoa(int(rs.ID))).WithEmoji(discord.NewComponentEmoji(emoji)) if rs.ID == skill.ID { diff --git a/skill.go b/skill.go index 64ad3b1..56ab38a 100644 --- a/skill.go +++ b/skill.go @@ -78,9 +78,10 @@ func (a Ability) String() string { r = append(r, (a.Value * 100).String()...) r = append(r, '%') case AbilityGateDelay: + // This skill type in particular should be × instead of +. + r = append(r[:len(r)-1], "×"...) r = append(r, a.Value.String()...) - r = append(r, "×"...) - case AbilityFrenzy: + case AbilityFrenzy, AbilityAddGateDelay: r = append(r, a.Value.String()...) r = append(r, 's') case AbilityCurrentSpeed, AbilityTargetSpeed, AbilityLaneSpeed: @@ -90,6 +91,9 @@ func (a Ability) String() string { r = append(r, a.Value.String()...) r = append(r, " m/s²"...) case AbilityLaneChange: + // This skill type should be "to 0.5 track widths." + // (The only skill that has it is Dodging Danger/Sixth Sense.) + r = append(r[:len(r)-1], "to "...) r = append(r, a.Value.String()...) r = append(r, " track widths"...) }