jbhaywood / 5e-statblock-importer

A module for FoundryVTT that creates a new actor from any 5e monster or NPC statblock.
MIT License
18 stars 14 forks source link

Minor Flee Mortals updates #63

Closed MaxPat931 closed 10 months ago

MaxPat931 commented 11 months ago

This PR addresses several items in #58 Utility Spells - added sectionHeader to create a feature for this section Role - added capture group for Role and places it in the Source field of the creature (the user still needs to move the CR # Role text to the appropriate section of the statblock though) Magical Resistance - FM uses "mundane attacks" so added a solution for that

MaxPat931 commented 11 months ago

Made a few more updates last night that should address most of the remaining items in #58 The last item left in that issue is related to the (X/Day), while there is some low hanging fruit on getting some of these fixed up, there are some other unique things going on in these statblocks, of course, that I dont think solving for every edge case is necessary, but I'll know more once I start digging into it.

jbhaywood commented 10 months ago

I'm almost done with the overhaul. It's going to make add new support for new single line stats, like souls, and new types of sections, like villain actions, easier. It also supports things being in different orders (mostly), so the challenge rating can be at the bottom of the statblock, for example.

MaxPat931 commented 10 months ago

Oh that's awesome, thank you! I was just taking a look and realized that Souls was still causing a minor issue, but seems like you found that image

I also thought that I had caught the alignment being on a second line, but I guess not image but that's pretty minor and should only affect a small handful of the demons

jbhaywood commented 10 months ago

I pulled in these updates with v1.80.1, but just noticed the souls thing. I'll get that in tomorrow.

jbhaywood commented 10 months ago

Alright, souls and soulsight have been added in v1.81.0. Happy DMing!