Commit graph

35 commits

Author SHA1 Message Date
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
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
343a888b68 Rename loot and equipment 2021-02-21 03:40:54 +01:00
d5af9c90c4 Simplify active effect application slightly 2021-02-18 13:42:59 +01:00
24d8926645 correctly handle overrides 2021-02-18 13:24:52 +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
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
d5db788c31 Do some cleanup 2021-02-07 11:51:36 +01:00
5598255d6e Improve typing of DS4Item and DS4Actor 2021-02-05 03:42:42 +01:00
6c3432cb26 update type definitions 2021-01-31 19:57:14 +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
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
fc144aa3f6 Apply 1 suggestion(s) to 1 file(s) 2021-01-18 19:03:08 +01:00
e36f30a787 Add special abilities to creature sheet 2021-01-13 17:20:25 +01:00
c422635d66 add special creature ability as item type 2021-01-11 00:55:49 +01:00
b361d2da04 make hit points usable in resource bar 2021-01-07 12:47:38 +01:00
59fb033db8 adjust character data to consist of basic character data 2020-12-30 15:01:17 +01:00
082cd03b71 improve effects type checking 2020-12-29 00:33:43 +01:00
9385917edd Update to new data bindings, everythings an interface now. 2020-12-28 17:34:40 +01:00
d9440b27a6 Type-ify Actor. 2020-12-28 15:51:00 +01:00
2ba687eb14 add eslint and prettier 2020-12-23 18:23:26 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00