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
159f5b8529
make it possible to pass rollMode to createCheckRoll
2021-01-24 15:51:47 +01:00
ecfbe9fa2a
automatically calculate base combat values
2021-01-19 03:31:40 +01:00
b06396c141
Review comments:
...
- Error prefix on localization key
- Different name for Roll dialog title
- Remove obsolete todos
- Add some defaults to make args optional
- Change return types of promises and term generators
2021-01-15 20:46:26 +01:00
04bfe61f3f
Update localization, add docs.
2021-01-13 18:56:19 +01:00
d6ddad67cc
Implement localization (en only).
2021-01-13 18:02:22 +01:00
2d809c955b
Make cancellable withour exception
2021-01-13 17:11:07 +01:00
516c04c8de
First proper parsing without much "nice-ity".
2021-01-10 21:03:11 +01:00
a19a996d1d
Display (only!) selection options to the user.
2021-01-10 16:40:11 +01:00
c94ff4a67a
Rudimentary docs.
2021-01-09 23:21:57 +01:00
27c0ddbca1
Make factory usable from Macros.
...
This does not yet include any modal interface.
2021-01-09 23:14:50 +01:00
42868e4a83
Fix review comments.
2021-01-08 23:46:28 +01:00
25119fd9e3
Add very simple docs.
2021-01-08 23:41:23 +01:00
a5e240ab75
Localize Error Messages.
2021-01-08 23:31:42 +01:00
22f53e5420
Allow multiple dice and error check.
2021-01-08 23:18:01 +01:00
3dca6a5ae4
Implement CTN as modifier.
2021-01-08 21:07:15 +01:00
14ffff1985
Fix tests.
2021-01-07 02:33:22 +01:00
1422f28760
Get basic features to work.
2021-01-07 02:26:09 +01:00