horse: generate json

This commit is contained in:
2026-03-08 14:01:43 -04:00
parent 5540bb2c4e
commit 7ff271ff2d
28 changed files with 172829 additions and 60 deletions

View File

@@ -71,7 +71,7 @@ var SkillNameToID = map[string]SkillID{
{{- end }}
}
var SkillGroups = map[int32][4]SkillID{
var SkillGroups = map[SkillGroupID][4]SkillID{
{{- range $g := $.Groups }}
{{ $g.ID }}: { {{- range $s := index $.Related $g.ID }}Skill{{ goenum $s.Name }}{{ if ne $s.InheritID 0 }}Inherit{{ end }}, {{ end -}} },
{{- end }}