Unify XP progression and enable ability ranks

This commit is contained in:
dingo
2026-09-10 06:08:49 -04:00
parent 906a07ff66
commit ac695b3270
17 changed files with 313 additions and 43 deletions
+8
View File
@@ -153,6 +153,14 @@ func decodeCatalog(version int64, raw string) (content.Catalog, error) {
}
catalog.RestoreFurniture(b)
}
if catalog.Powers != nil {
for i := range catalog.Powers.Powers {
d := &catalog.Powers.Powers[i]
if d.Kind == "ability" && d.MaxLevel == 1 {
d.MaxLevel = 1000
}
}
}
return catalog, catalog.Validate()
}
func (d *DB) Catalog(ctx context.Context) (content.Catalog, error) {