Lavaeolous / PF1-StatBlock-Converter-Module

FoundryVTT Module to convert PF1 Statblocks into Foundry Actors (PC or NPC).
MIT License
14 stars 12 forks source link

Reach overwitten by stature #502

Closed JAdams0 closed 1 year ago

JAdams0 commented 2 years ago

When a monster is imported the reach is correct but it is almost immediately overwritten by stature if they do not match. As an example dire bat has 5 foot reach but is imported as tall instead of long, which immediately sets the reach to 10 feet if you close/open the token or actor. If possible try to import the correct stature for the monsters or set each attack to x feet instead of melee based on reach.

Lavaeolous commented 2 years ago

Hm, iirc most statblock contain no info about the stature (long or tall) and the sheet should default to tall i think. I'll try to include a validation of reach in the next version.

mkahvi commented 2 years ago

You could make some assumptions, like all animals being treated as long will have fairly high accuracy. Magical beast might have similar luck. Anything else however is unreliable, though you could make some educated guesses based on reach info if present.

Lavaeolous commented 2 years ago

Stature now gets "guessed" based on space and reach, with "reach < space" resulting in a long stature and everything else in a tall one. Now i'm looking for a place to store contextural reach info (or save it for the validation and then change the reach of a given attack if the name was found in reachContext). image image

Lavaeolous commented 2 years ago

Partially fixed in 3.3.5

mkahvi commented 2 years ago

Now i'm looking for a place to store contextural reach info

Attack notes, I'd imagine.
Attacks/weapons can have melee/reach ranges, and if those give wrong ranges, you can adjust them with the custom range referring to @range.melee or @range.reach.
So if their reach attack is longer than expected, you can add 10 + @range.reach for example.