Commit graph

279 commits

Author SHA1 Message Date
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
b3ac3cde84 extract item-list-entry to commonly used partial 2021-02-26 01:08:55 +01:00
9573a6595d Extract item-list-header to common partial used by all item lists 2021-02-25 23:30:45 +01:00
25b6f03d56 Use grid for talents tab 2021-02-25 22:22:05 +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
516c68d4af Remove equipped flag from all loot items 2021-02-21 18:53:46 +01:00
7ee7a44f05 Add various magical items 2021-02-21 05:39:12 +01:00
d7fb8fd61a use notification wrapper 2021-02-21 04:09:48 +01:00
5d249d4c10 Fix migration of compendiums 2021-02-21 04:05:50 +01:00
343a888b68 Rename loot and equipment 2021-02-21 03:40:54 +01:00
0fd9622e2d Make some small improvements to actor sheets 2021-02-20 22:41:33 +01:00
a07e9dbf1c Update types 2021-02-20 17:30:17 +01:00
3989e76958 Update dependencies 2021-02-20 14:00:50 +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
7cc1c37bc3 Improve reaadability of notifications.notify 2021-02-11 11:14:24 +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
fc3f3eb1f3 Simplify DS4Check.MODIFIERS 2021-02-08 02:15:43 +01:00
746d4d7a44 Update types 2021-02-08 02:07:25 +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
dac37eeaa1 Remove unused import 2021-02-07 12:29:15 +01:00
8e8aa4caee Add icons to check roll dialog buttons 2021-02-07 12:23:20 +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
5cb75a4001 Update types 2021-02-05 20:37:52 +01:00
05bd1335ba remove redundant cast 2021-02-05 03:50:08 +01:00
52c729c3fa SImplify Dice configuration 2021-02-05 03:47:54 +01:00
5598255d6e Improve typing of DS4Item and DS4Actor 2021-02-05 03:42:42 +01:00
b657633c7f remove unwanted change 2021-02-05 02:56:13 +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
cd86857b43 Update types 2021-02-04 23:03:49 +01:00
1d4c0ac459 update types 2021-02-04 18:00:05 +01:00
bedab9ae83 update types 2021-02-04 17:28:55 +01:00
4e9b434839 update types 2021-02-04 14:39:51 +01:00
d8e085ce81 update types 2021-02-04 12:32:07 +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
3d5912a631 Update foundry-vtt-types 2021-01-29 16:17:31 +01:00
d6b46d6183 Remove skipLibCheck 2021-01-29 11:23:34 +01:00
3209280b29 Fix linter warning 2021-01-27 01:38:47 +01:00
ba268e4245 remove workaround for position type 2021-01-26 21:25:43 +01:00
0a911cf196 Merge branch 'master' into 066-switch-to-foundry-vtt-types 2021-01-26 21:17:00 +01:00
972c3a7701 Merge branch 'master' into correctly-pass-rollMode-parameter 2021-01-26 21:14:40 +01:00
f7575da47a Merge branch 'master' into 065-simplify-localization 2021-01-26 20:54:36 +01:00
0b70bbf9b9 merged i18n and i18nKeys 2021-01-26 20:47:28 +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
637af7c4d0 make DefaultCheckOptions 2021-01-25 01:25:45 +01:00
85ec5faec2 implement basic active effects 2021-01-25 01:09:51 +01:00
62ab89f83b moved icon mappings in CONFIG.DS4.icons 2021-01-24 17:56:32 +01:00
d831f376e1 moved localization mappings in CONFIG.DS4.i18nKeys
- moved all mappings in CONFIG.DS4 that belong to localization
  into common parent CONFIG.DS4.i18nKeys
- adapted logic in ds4.ts to not overwrite entries in
   CONFIG.DS4.i18nKeys
- adapted calls to config in templates
2021-01-24 17:55:14 +01:00
ef27d03628 Merge branch 'master' into quality-of-life-improvements 2021-01-24 16:20:28 +01:00
159f5b8529 make it possible to pass rollMode to createCheckRoll 2021-01-24 15:51:47 +01:00
0b1c342ecf select text of input fields when focused
- the content of input fields of relevant sheets and dialogs
  are now selected upon focus
- autofocus the Gamemaster roll modifier in the roll dialog
2021-01-24 13:11:08 +01:00
4bbc177329 allow negative hit points with the token HUD 2021-01-23 23:51:21 +01:00
2d6eb34d09 better way to call super._onDropItem 2021-01-23 01:45:23 +01:00
afbe0cb8f1 fix dragging items from compendium to actor sheet 2021-01-23 01:43:48 +01:00
0fc726a5af fix spell icon path 2021-01-22 22:56:58 +01:00
ef98b4a590 Merge branch 'master' into 061-languages-and-scripts-compendiums 2021-01-22 22:24:36 +01:00
4040c8605c Apply 2 suggestion(s) to 1 file(s) 2021-01-22 22:01:31 +01:00
55a0cbe11a add compendium with languages and scripts from the SRD 2021-01-21 18:07:08 +01:00
c5a5a7d5a2 Merge remote-tracking branch 'origin/master' into add-special-creature-ability-compendium 2021-01-21 01:29:09 +01:00
60ed168053 adjust migration versioning 2021-01-20 22:11:53 +01:00
fe84927a28 add compendium with special creature abilities 2021-01-20 00:42:58 +01:00
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
dee56f12ec remove currency from creature sheet 2021-01-18 19:59:25 +01:00
e89c87f0c1 Merge branch 'master' into 10-implement-money 2021-01-18 19:48:33 +01:00
ab6e02a7a6 fix typo 2021-01-18 19:34:03 +01:00
e9adbd3c3b Merge remote-tracking branch 'origin/master' into 037-actor-type-creature 2021-01-18 19:12:46 +01:00
7e4c5059ca address code review comments 2021-01-18 19:11:13 +01:00
fc144aa3f6 Apply 1 suggestion(s) to 1 file(s) 2021-01-18 19:03:08 +01:00