include link to gametora skill conditions viewer
This commit is contained in:
4
skill.go
4
skill.go
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user