Commit graph

267 commits

Author SHA1 Message Date
10a0561616 Merge branch '077-common-checks-macros-with-effects' into 76-common-checks-in-actor-sheets 2021-03-29 21:46:46 +02:00
23a4f7138e Remove unused utils 2021-03-29 21:46:29 +02:00
537e41bf5f Merge branch '077-common-checks-macros-with-effects' into 76-common-checks-in-actor-sheets 2021-03-29 21:21:53 +02:00
e545e3f030 Refactor for better readability (addressed CR comments) 2021-03-29 21:20:08 +02:00
cf80b18ba6 Move core values and combat values to values tab and BEMify core values 2021-03-24 20:10:14 +01:00
30aed22c03 Fix TSDoc string 2021-03-24 09:24:14 +01:00
f038509910 Add functionality for common checks, which can be affected by effects and be performed as macros 2021-03-24 09:19:26 +01:00
cb5ad74a71 Remove some unnecessary casts and fallbacks 2021-03-22 10:28:37 +01:00
17633ced68 Separate types for data and _data for DS4Actor 2021-03-22 10:18:43 +01: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
b449a20348 Rename some variables for clarity 2021-03-18 08:54:57 +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
0b2be5d9fc Remove redundant comment 2021-03-16 08:55:10 +01:00
196ddb7eb2 Small documentation fix 2021-03-16 08:42:36 +01:00
48a1cc652a Small renaming 2021-03-16 08:25:56 +01:00
a151e62a4c Cleanup hooks 2021-03-16 08:22:27 +01:00
3c54a6126b Small documentation adjustment 2021-03-16 07:49:00 +01:00
32fac517ad Rename a few things 2021-03-16 07:42:00 +01:00
67d0253f66 Update foundry-vtt-types to remove some type workarounds 2021-03-16 07:11:12 +01:00
48e06678a9 Merge branch 'master' into item-macros 2021-03-15 21:45:49 +01:00
2e5e02c89f properly cast return type of Roll.render 2021-03-15 21:41:51 +01:00
212295069f Add functionality to create item macros via drag & drop 2021-03-14 19:04:28 +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
a48fedd937 Fix horizontal overflows in actor sheets 2021-03-08 09:58:26 +01:00
f7c18dc702 Make private methods protected 2021-03-04 10:00:46 +01:00
71eedaf080 Only try to roll for the given item type 2021-03-04 09:19:11 +01:00
ea4f1d3ee7 use img tags instead of divs with background-image set 2021-03-04 08:51:13 +01:00
74ad0c7f24 Add possibility to roll spells from sheet adnrequire spells and weapons to be equipped to be rolled 2021-03-04 01:54:51 +01:00
68c20ccdc6 Fix Actor.data.data.rolling being undefined 2021-03-04 00:54:41 +01:00
b07ee31b38 Add maximumCoupResult and minimumFumbleResult to actor data 2021-03-04 00:41:57 +01:00
3d272f2b92 Make weapons rollable from the character sheet 2021-03-04 00:14:16 +01:00
d17b092658 Readd currency to character sheet 2021-02-26 02:13:18 +01:00
315261bf4f Get rid of ifHasItemOfType 2021-02-26 01:38:53 +01:00