include link to gametora skill conditions viewer

This commit is contained in:
2026-01-17 19:29:15 -05:00
parent 667144d0ab
commit a8ad64f5a4

View File

@@ -73,7 +73,9 @@ func RenderSkill(id horse.SkillID, all map[horse.SkillID]horse.Skill, groups map
text = append(text, t) text = append(text, t)
r.Components = append(r.Components, discord.NewTextDisplay(strings.Join(text, "\n"))) r.Components = append(r.Components, discord.NewTextDisplay(strings.Join(text, "\n")))
} }
r.Components = append(r.Components, discord.NewSmallSeparator(), discord.NewTextDisplayf("%s ・ SP cost %d ・ Grade value %d", skilltype, s.SPCost, s.GradeValue))
l := discord.NewTextDisplayf("%s ・ SP cost %d ・ Grade value %d ・ [Conditions on GameTora](https://gametora.com/umamusume/skill-condition-viewer?skill=%d)", skilltype, s.SPCost, s.GradeValue, s.ID)
r.Components = append(r.Components, discord.NewSmallSeparator(), l)
rel := make([]horse.Skill, 0, 4) rel := make([]horse.Skill, 0, 4)
for _, id := range groups[s.Group] { for _, id := range groups[s.Group] {
if id != 0 { if id != 0 {