dnd-character
dnd-character copied to clipboard
library for making Dungeons & Dragons 5e characters as serializable data
This library uses mainly camelCase for method names and mainly snake_case for attributes, but it's inconsistent. This happened because I was transitioning to using snake_case in Python while originally writing...
Expectation: - Equipment such as "leather armor" would be in the `SRD_equipment` dict with a key like `leather-armor` Reality: - Armour is named after its material. Leather armor is called...
Amazing library. Just reading the source code is teaching me a lot about Python I didn't know. I haven't had a full deep dive into the actual workings of the...
I've been working on some better documentation, namely a static site with multiple pages. This should allow me to stop worrying about how long the readme is, and go into...
Hi, This pull request introduces the `Spellbook` class along with methods for adding, removing, and validating spells based on D&D 5e rules. Additionally, it includes tests to ensure the correct...
Wizards need to store their spells inside spellbooks, which do exist as an item already. Since all items have a "contents" field, I guess we could store spells in there....
It would be a nice feature but implementation seems problematic. Basic calculation: score = D20 + modifiers Advantages + Modifiers: 1, Dexterity modifier 2, Alert feat (+5) 3, Class features...
Features I would like to see included: * **Short Rest** to use Hit Dice to gain HP during a short rest and possibly restore spell slots. (I think some classes...
There is no Race defined for the character. If that added that would be better.