Replies: 1 comment 2 replies
-
There's already an issue that discusses this, #366. In a comment on that issue, I suggest modifying the However, I also note that there is value to having a combined list, as class levels and subclass levels are identical in structure, and would be treated the same way by the consumer. If we removed subclass levels from the |
Beta Was this translation helpful? Give feedback.
-
Classes contain a leveling attribute, which details any new features, spells, and otherwise obtained at each level. It details both information for that class and all of its subclasses. One example is Warlock. Warlock's leveling endpoint is https://www.dnd5eapi.co/api/classes/warlock/levels.
You'll see that there are two leveling sets for level 1. The first is the features that all level one warlocks receive. The second specifies the rewards that exclusively warlocks of the fiend subclass obtain. I feel that this subclass specific information should be contained within a separate endpoint specifically for that subclass. This way the warlock leveling endpoint would only contain perks that ALL warlocks get.
This would mean adding a new
subclass_levels
attribute to warlock, which would be a string for the leveling endpoint URL.Beta Was this translation helpful? Give feedback.
All reactions