Recognize spells from shared glossary documents
This commit is contained in:
@@ -153,13 +153,10 @@ func validCast(name string) dnd.SpellCast {
|
||||
|
||||
func overlayReferences() contracts.ReferenceSet {
|
||||
content := []byte(`{
|
||||
"schema_version": "notarius.dnd.spell-catalog-overlay.v1",
|
||||
"catalogs": [{
|
||||
"id": "campaign-spells",
|
||||
"ruleset": "dnd-5e-2014",
|
||||
"source": {"title": "Campaign spell names"},
|
||||
"spells": [{"name": "Aegis of Emberfall", "aliases": ["Emberfall Aegis"]}]
|
||||
}]
|
||||
"schema_version": "maximumdirect.glossary.v1",
|
||||
"collections": {"spells": {"entries": [
|
||||
{"id": "aegis", "name": "Aegis of Emberfall", "category": "spell", "aliases": ["Emberfall Aegis"]}
|
||||
]}}
|
||||
}`)
|
||||
return contracts.ReferenceSet{Slots: map[string]contracts.ResolvedReferenceSlot{
|
||||
spellreference.SpellCatalogReferenceSlot: {
|
||||
|
||||
Reference in New Issue
Block a user