Closed MaxPat931 closed 7 months ago
Can you post the names of specific 'Flee, Mortals!' monsters that this PR would address so I can test locally? I have the book, so don't need the full statblock.
Yea it should be for any Swarm creature, from FM or WotC
Here's the current import of one from each (FM - Swarm of Skitterlings, WotC - Swarm of Poisonous Snakes)
And with this PR
Skitterlings (without adjusting for the aforementioned troublesome line on the left, and with adjusting for it in the middle)
Looks good!
Closes #76 and closes #77
Ironically there is still an issue with Flee Mortals swarms, because of the way their statblock is formatted, the importer gets caught on the following line but I think that there are so few swarms in the book, and it seems like a niche case that this should be fine
My first attempt as solving for this was to 'hard-code' the types into the racialDetails regex, but that made it insanely long, and wouldnt support custom types, so I think this is a better solution