Commit graph

92 commits

Author SHA1 Message Date
ad2fd01353 Add checks for analyzing magic 2021-04-13 20:19:25 +02:00
e545e3f030 Refactor for better readability (addressed CR comments) 2021-03-29 21:20:08 +02: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
a48fedd937 Fix horizontal overflows in actor sheets 2021-03-08 09:58:26 +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
aac4b014b0 Use BEM for item-list styling and add support for drag & drop of items (between sheets and for sorting) 2021-02-25 19:07:25 +01:00
3867a23c2d Make item list a grid for items and spells 2021-02-24 04:52:32 +01:00
d7fb8fd61a use notification wrapper 2021-02-21 04:09:48 +01:00
343a888b68 Rename loot and equipment 2021-02-21 03:40:54 +01:00
d31c9ac24b Fix saving scroll position in actor sheets 2021-02-20 02:12:34 +01:00
d5af9c90c4 Simplify active effect application slightly 2021-02-18 13:42:59 +01:00
b2490a2e2f Simplify handling of optional values in a couple of places 2021-02-18 13:36:36 +01:00
24d8926645 correctly handle overrides 2021-02-18 13:24:52 +01:00
9104237261 Add tooltips for attributes, traits, and combat values 2021-02-16 23:23:18 +01:00
38a3437267 Small cleanup 2021-02-16 16:34:23 +01:00
624059ef02 Always derive hitPoints.max from the final hitPoints.total 2021-02-16 15:39:18 +01:00
4e2691e19f simplify DS4Actor._getOriginatingItemOfActiveEffect 2021-02-16 14:52:22 +01:00
66334d338f Simplify ActiveEffect handling by a lot 2021-02-16 03:26:26 +01:00
1b715031a8 Tie active effects to equipped flag for token actors, too 2021-02-16 02:07:34 +01:00
6cdbcc6899 Update types 2021-02-15 22:02:51 +01:00
ac84d40528 Merge branch 'master' into 050-basic-active-effects 2021-02-11 12:10:14 +01:00
2158026437 Add additional checks when editing items or effects 2021-02-11 12:03:32 +01:00
433a374936 Fix doc 2021-02-08 03:38:50 +01:00
b74ee5ec7c Merge branch '068-enable-strict-mode' into 050-basic-active-effects 2021-02-08 03:26:57 +01:00
746d4d7a44 Update types 2021-02-08 02:07:25 +01:00
09b4117306 Activate strict mode 2021-02-07 13:51:20 +01:00
dac37eeaa1 Remove unused import 2021-02-07 12:29:15 +01:00
f64e459cd2 Update types 2021-02-07 12:16:48 +01:00
d5db788c31 Do some cleanup 2021-02-07 11:51:36 +01:00
98568de676 Update types 2021-02-07 11:15:37 +01:00
05bd1335ba remove redundant cast 2021-02-05 03:50:08 +01:00
5598255d6e Improve typing of DS4Item and DS4Actor 2021-02-05 03:42:42 +01:00
2641b1ee74 Update types 2021-02-05 02:35:47 +01:00
1d4c0ac459 update types 2021-02-04 18:00:05 +01:00
4e9b434839 update types 2021-02-04 14:39:51 +01:00
6c3432cb26 update type definitions 2021-01-31 19:57:14 +01:00
628490c6f2 Update TODOs 2021-01-29 16:44:08 +01:00
d6b46d6183 Remove skipLibCheck 2021-01-29 11:23:34 +01:00
a0c4d1c4d9 small adjustments to TODO comments 2021-01-26 03:58:03 +01:00
62cc5a0e7c switch to foundry-vtt-types 2021-01-26 03:55:18 +01:00
61c6f6edd9 move calculation of total attributes and traits to prepareBaseData 2021-01-25 10:32:13 +01:00
b157cff67a fix typo 2021-01-25 01:33:13 +01:00
85ec5faec2 implement basic active effects 2021-01-25 01:09:51 +01:00
4bbc177329 allow negative hit points with the token HUD 2021-01-23 23:51:21 +01:00