Closed derikb closed 1 year ago
This looks like it might be viable for some spell info:
https://www.dnd5eapi.co/api/spells (spell list) https://www.dnd5eapi.co/api/spells?name=Sacred%20Flame (search) https://www.dnd5eapi.co/api/spells/sacred-flame (specific spell data)
Ideas:
You guys should take a look at https://github.com/morepurplemorebetter/MPMBs-Character-Record-Sheet Which has a lot of info, Class, Spells, Weapons, Items, Companions, and more!
@NeptuneRjo Gave you code a test (it's now merged to develop) and it seems fine to me. I've made two changes:
I'll release that soon. Maybe a future addition could be to add some kind of modal that would show info about the specific spells.
@derikb Didn't even think to try level=0 so good shout on that.
I'll take a look into the spell info stuff; shouldn't be too complicated and I'm enjoying working on this project so far.
@NeptuneRjo Sorry, somehow I thought I released this and then never did. Just made the release and will get it online shortly. Thanks for contributing.
We could draw on an existing repo of spell data to offer some kind of spell picker and info pop up.
Might be tough for anything beyond the basic rule stuff as the rest may not be available to use.
Maybe just spell name autocomplete based on class/level.