The prerequisite "Blutrausch" is not evaluated correctly

Issue #124 resolved
Nando Neck created an issue

The disadvantage “Blutrausch“ has the personal flaw “Jähzorn“ as prerequisite.

The error is even show, if the personal flaw “Jähzorn“ has been chosen.

If you check the warning checkbox, a second personal flaw “Jähzorn“ is added to the list of disadvantages for 0 AP

Comments (1)

  1. Bernhard Jung repo owner

    This was a error in the JSON files. The required disadvantage had the wrong type. The fact that this could/can happen looks like a design error. The prerequisite should not have to define the exact data structure of the variant that is required. It would be better if there was also a option to simply reference the required variant by ID. The option to exactyl define the variant would still be needed if a variant is required that is not in the default list.

    commit 12bf18b

  2. Log in to comment