Commit graph

9 commits

Author SHA1 Message Date
c46c2c4a0a Fix tests 2021-07-07 23:38:33 +02:00
2d647094f7 Use REUSE to specify licensing info 2021-06-26 22:02:00 +02:00
ff6427f5a9 Fix problem with check target numbers <= 0
The fix has 2 components:
1. The logic for evaluating checks now supports check target numbers<= 0
   by still using a single die in this case
2.  The CheckFactory sets the check target number to 0 even if it would
   be < 0. This is necessary because negative numbers would interfer
   with foundry's math evaluation in rolls and would not be picked up
   correctly.
2021-06-26 16:32:31 +02:00
eeb1aa61f4 Use coups, even if they are higher than the corresponding CTN 2021-03-13 20:58:59 +01:00
98deee1856 Add tests for evaluateCheck 2021-03-13 18:43:23 +01:00
9c1d2f081a Make dice viewable seperately in DS4Check 2021-03-13 17:43:48 +01:00
a542dd1575 add punctuation 2021-03-13 02:32:28 +01:00
ea5eee709e Add function to assign sub checks to dice 2021-03-13 02:27:09 +01:00
af07168c5b Switch to jest 2021-02-11 13:42:38 +01:00