Skip to content

Added restriction of magical traditions to FamiliarsTrick#126

Open
Lector wants to merge 3 commits intomainfrom
feature/familiars-trick
Open

Added restriction of magical traditions to FamiliarsTrick#126
Lector wants to merge 3 commits intomainfrom
feature/familiars-trick

Conversation

@Lector
Copy link
Collaborator

@Lector Lector commented Mar 20, 2026

Closes #106

@Lector Lector requested a review from elyukai as a code owner March 20, 2026 18:41
elyukai
elyukai previously approved these changes Mar 21, 2026
Copy link
Owner

@elyukai elyukai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also prinzipiell sieht das gut aus! Wenn du traditions allerdings auf Required belässt und nicht auf Optional stellst, wäre es trotzdem noch ein Breaking Change, da dann bei allen Vertrautentricks ein leeres Array nachgetragen werden muss. Würde ich jetzt aber nicht als Problem sehen, da das ja genauso bei den Tierarten funktioniert.

@Lector
Copy link
Collaborator Author

Lector commented Mar 21, 2026

Wäre es dann sinnvoll die Tierarten, welche ja auch optional sind vielleicht auch als solche zu deklarieren. Dann hätten wir den breaking change raus und die Tierarten wären dann auch 'sauber` im schema dargestellt. Das bestehende leere array würde ja nicht weiter stören oder?

Copy link
Owner

@elyukai elyukai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noch eine Kleinigkeit, dann kann ich mergen.

comment: `The magical traditions whose familiars can use this trick. Either it is available to all or only a list of specific traditions.

If no traditions are given, the familiars trick is not restricted by the magical tradition at all.`,
type: DB.Array(MagicalTraditionIdentifier(), { uniqueItems: true }),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier dann bitte noch das Array auf minItems: 1 stellen, damit kein leeres Array eingegeben werden kann.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FamiliarsTrick: Magical Traditions

2 participants