Closed MaxPat931 closed 7 months ago
Yea in roleDetails
, the
PR Regex
Or actually it looks like we could simplify it down to this
\d+\s(?<role>\w+)
It shouldnt have an impact on actually parsing the CR value though challengeDetails
seems to capture those just fine, oddly I did not see the same thing with the Gnoll Abyssal Archer as you
Current import
PR Import
And testing this shows a new issue, the Wildcat is listed as size "Tiny or Small" causing more of an issue with my new Custom Race handling, but I doubt there are a lot of statblocks this would impact?
I see what you're saying. That makes sense. Yeah, the regex could be reduced. Up to you. I agree that the "Tiny or Small" issue is a small edge we probably don't need to worry about unless someone else brings it up.
fixed conflicts and went for the simpler regex
Closes #82 and closes #81 Moves the
<race>
capture group to the Subtype field Moves the Role from the Subtype field to the Source Custom field Adds "Flee, Mortals!" to the Source Book field if Role is presentSample: Chimeron Old | New![image](https://github.com/jbhaywood/5e-statblock-importer/assets/86370342/eb9fdf4e-acae-4be2-8f6e-55273e42b758)