Prerequisites of Spell/Chant Enhancements are not set

Issue #227 resolved
Bernhard Jung repo owner created an issue

Some spell or chant enhancements do have other enhancements as prerequisite. For example the “good illusion x” enhancements have usually “good illustion x-1” as prerequisite or the 3rd enhancement of chant “Pervasive Sphere Song of the One” (Des Einen bezaubernder Sphärenklang) has the other two enhancements as prerequisite. This can be set in the JSON data by adding the property prerequisites.

"prerequisites": "guteillusion1"

or

"prerequisites": [ "laengerewirkungsdauer", "geringerwiderstand" ]

It seems the prerequisite property is not set in all JSON files. For example they seem to be missing in aventurischemagie/spells.json. This needs to be fixed because if the property is not set the prerequisistes can not be checked,.

The spell and chant JSON-files need to be checked to add the prerequisites if necessary. Also the Voraussetzungen section needs to be removed from the rulesdescription of the enhancements as it is now generated when the prerequisites property is set.

I don’t think it is necessary to manually check every spell in the rule book and see if the JSON is correct. It should simply be enought so search for the text “Voraussetzungen:” and maybe “Voraussetzung:” in the spell/chant JSON files. This should find mostly if not only enhancements with prerequisites. The prerequisites property can then be added and the text from the rulesdescription can be removed.

Comments (5)

  1. Log in to comment