Commit graph

52 commits

Author SHA1 Message Date
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
c885d2d405 Implement a custom DS4 "dice" class.
Includes exploding and crit dice modifier, but not tested yet,
as some required types are still missing.
2021-01-06 19:15:56 +01:00
9feaa5216d Make roll executor fir for modifier-approach. 2021-01-06 18:27:22 +01:00
e2a42aee4b Add docs, type clarifications. 2021-01-04 21:21:06 +01:00
fc88ce6c52 Rename Test to check, etc., restructure calculation code. 2021-01-04 19:38:26 +01:00
c26e4bab9f Changes as per review.
Missing:
 - Open discussion on "test value" renames
 - docs
 - open discussion on last-die-handling
2021-01-03 15:08:38 +01:00
aaa10d7469 Add slaying dice behaviour. 2021-01-02 16:40:30 +01:00
55beeb92c9 Implement swapping edge case, restructure sources. 2021-01-02 16:12:16 +01:00
00f7e30b41 Fix option parsing for rolls. 2021-01-02 13:54:59 +01:00
75301b2c56 Bound to fail: Add slaying dice options and tests, no impl. 2021-01-02 13:16:08 +01:00
6b18e720a1 Additional tests and features as per Request. 2020-12-31 02:27:21 +01:00
b569e5488e Add test for multiple rolls with min/max modifiers 2020-12-31 00:52:59 +01:00
c315742412 Add tests for standard mutli dice rolls. 2020-12-31 00:47:31 +01:00
b3c89b4d32 Add missing cases for test <20. 2020-12-30 23:03:08 +01:00
8d274ed830 Ruhu, Cleanups! 2020-12-30 21:50:12 +01:00