7ca8fff910
Update vtt-types and get rid of now unnecessary @ts-ignores
2021-07-01 22:02:52 +02:00
f26d75b56f
Do a bit of cleanup
2021-07-01 02:56:09 +02:00
2161a8e92a
Avoid min and max rolls being highlighted incorrectly
2021-07-01 02:09:34 +02:00
7a37f46017
Fix slaying dice modifier
2021-07-01 01:51:50 +02:00
1ddabc388c
use methods from the foundry.utils namespaces instead of their global counterparts
2021-07-01 01:08:30 +02:00
8f7f6af359
Fix DS4Check for 0.8.x
2021-07-01 00:36:41 +02:00
76f42fe280
More WIP
2021-06-30 05:00:23 +02:00
ba493f4f18
More WIP on 0.8.x migration
2021-06-30 04:32:10 +02:00
2d647094f7
Use REUSE to specify licensing info
2021-06-26 22:02:00 +02:00
1f6d13c49d
Fix issue with CheckFactory parsing empty strings as NaN for check related values
2021-06-26 16:32:31 +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
b71adefc65
Remove unnecessary explicit jQuery parameter
2021-05-13 22:09:38 +02:00
24725c15f9
Add a macro to perform generic checks
2021-05-13 21:39:42 +02:00
7fe6ae9bc7
Fix wrong roll template location
2021-04-25 18:31:19 +02:00
49b450daee
Reorganize templates file structure
2021-04-13 21:40:52 +02:00
7c7d30854c
Separate data and _data for DS4Item
2021-03-22 09:04:45 +01:00
9f297149b2
Rename a method for consistency
2021-03-18 08:58:35 +01:00
d5b872e74b
Improve CheckFactory
2021-03-18 08:52:02 +01:00
115d6113de
Small check factory cleanup and use foundry form formating for roll dialog
2021-03-17 20:01:31 +01:00
0d864b67c1
Use foundry vtt provided rollmode labels
2021-03-17 18:25:59 +00:00
67d0253f66
Update foundry-vtt-types to remove some type workarounds
2021-03-16 07:11:12 +01:00
2e5e02c89f
properly cast return type of Roll.render
2021-03-15 21:41:51 +01:00
919091a211
Small cleanup
2021-03-14 14:52:50 +01:00
eb0866cfa7
Indicate fumbles / coups on the dice-total
2021-03-14 08:47:03 +01:00
2ccaa5da10
Add link to PR in TODO comment
2021-03-13 22:34:59 +01:00
3ea07a2379
Add missing i18n
2021-03-13 22:22:28 +01:00
18e6c31b5c
Fix slying dice usage in CheckFactory
2021-03-13 22:15:58 +01:00
7f973e7de8
Add slying dice modifier to DicePool
2021-03-13 22:08:43 +01:00
eeb1aa61f4
Use coups, even if they are higher than the corresponding CTN
2021-03-13 20:58:59 +01:00
e1d376057c
FIx creating DS4Check from data / results
2021-03-13 19:34:05 +01:00
0b98925aeb
Rename an interface
2021-03-13 18:53:26 +01:00
5d3d5bc533
Rename some variables
2021-03-13 18:50:39 +01:00
7e5a912cf0
remove commented slaying dice code
2021-03-13 18:46:25 +01:00
98deee1856
Add tests for evaluateCheck
2021-03-13 18:43:23 +01:00
bafb770178
Fix typo
2021-03-13 17:47:47 +01:00
9c1d2f081a
Make dice viewable seperately in DS4Check
2021-03-13 17:43:48 +01:00
ea5eee709e
Add function to assign sub checks to dice
2021-03-13 02:27:09 +01:00
3d272f2b92
Make weapons rollable from the character sheet
2021-03-04 00:14:16 +01:00
a07e9dbf1c
Update types
2021-02-20 17:30:17 +01:00
fc3f3eb1f3
Simplify DS4Check.MODIFIERS
2021-02-08 02:15:43 +01:00
ff3c09f009
Add missing localization
2021-02-07 14:00:26 +01:00
09b4117306
Activate strict mode
2021-02-07 13:51:20 +01:00
8e8aa4caee
Add icons to check roll dialog buttons
2021-02-07 12:23:20 +01:00
d5db788c31
Do some cleanup
2021-02-07 11:51:36 +01:00
5cb75a4001
Update types
2021-02-05 20:37:52 +01:00
b8d11fa5cd
remove some redundant casts
2021-02-05 02:52:55 +01:00
2641b1ee74
Update types
2021-02-05 02:35:47 +01:00
0a911cf196
Merge branch 'master' into 066-switch-to-foundry-vtt-types
2021-01-26 21:17:00 +01:00
62cc5a0e7c
switch to foundry-vtt-types
2021-01-26 03:55:18 +01:00
637af7c4d0
make DefaultCheckOptions
2021-01-25 01:25:45 +01:00