aptmac / roll20-to-talespire

TaleSpire companion applicaton (Chrome Extension), to send rolls from a Roll20 character sheet into your TaleSpire dice tray.
https://chromewebstore.google.com/detail/roll20-to-talespire/ablkndimkaicojanolhcmdknlpmdnkee
MIT License
0 stars 0 forks source link

fix(rolls): fix formatting of multi-dice type rolls going into TS #3

Closed aptmac closed 4 weeks ago

aptmac commented 4 weeks ago

This PR fixes rolls that use more than 1 type of dice (e.g., d6+2+1d4+3)

The problem here was that using the Roll20 UI the roll information gets whitespace around the second dice type, which is unparseable by TaleSpire. The fix here is to just remove all white space from attack rolls from the roll20 side (it's the only place I think this can occur), and from all rolls on the popup side.

Also bumped the version to 0.0.2 so I can update the chrome store extension.