Moerill / token-mold

MIT License
24 stars 33 forks source link

Roll hp system dcc #105

Closed adotor closed 2 years ago

adotor commented 2 years ago

I added support for rolling hit dice for the DCC system.

Therefore I had to distunguish between supported systems (that show the system tab in the settings) and systems that support creature sizes (up to now this had been the same, both DND5e and PF2e).

I used getProperty with a path from a system.id-based lookup-table. I added the table right there, but maybe you can think of a better place to maintain such constants.

adotor commented 2 years ago

I updated the PR so it can be merged with the latest release.