Unify XP progression and enable ability ranks
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user