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
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
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
eb0866cfa7
Indicate fumbles / coups on the dice-total
2021-03-14 08:47:03 +01:00
18e6c31b5c
Fix slying dice usage in CheckFactory
2021-03-13 22:15:58 +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
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