Commit graph

617 commits

Author SHA1 Message Date
Sascha Martens
cf7884e1c7 Added Reitkeiler Tokenimage 2021-07-19 17:39:15 +02:00
b6d4fa84f4 Add more colors for dragons 2021-07-15 19:30:11 +02:00
844744e4dc Add the possibility to reference actor properties in the values of effects
Additionally, this also adds the possibility to do math inside the values of
effects. All math functions that are available for rolls are also available
here.
2021-07-13 02:03:10 +02:00
3b75b17c99 release version 1.1.3 2021-07-12 17:19:44 +00:00
63d5027b9c Fix the armor type missing from the actor sheet 2021-07-12 17:01:34 +00:00
88684034a1 release version 1.1.2 2021-07-12 00:42:03 +00:00
c9e8e641a1 Fix broken item images
Unfortunately, foundry changed the names of some of its icons, some of which we used in the items compendium. This updates the paths in the compendium accordingly.

Additionally, this also adds images for all the potions.
2021-07-12 02:37:10 +02:00
9085f237e8 release version 1.1.1 2021-07-11 23:43:16 +00:00
d7fbc458b0 Fix a bug where character sheets would not load 2021-07-12 01:38:56 +02:00
8633afa1d2 release version 1.1.0 2021-07-11 23:17:07 +00:00
8268cd48a6 update dependencies 2021-07-12 01:12:46 +02:00
9b7d3e5a7b fix label-input matching for core values and addit text to combat values 2021-07-12 01:00:50 +02:00
959bfcc3e4 Cleanup up creature sheet 2021-07-12 00:12:59 +02:00
cd6be32583 Clean up character sheet 2021-07-11 05:04:05 +02:00
7f627df416 Slightly improve basic properties 2021-07-11 01:02:38 +02:00
b744e53f94 Combine biography and profile tabs 2021-07-10 21:02:48 +02:00
a10c98c3ce Add missing licensing info 2021-07-08 23:32:22 +02:00
aad9d30a7b Update to newest types and remove now obsolete object spreading 2021-07-08 23:31:17 +02:00
dff760a7f1 preload fonts so that when first opening an actor / item sheet, they are already available and the sheet is rendered faster 2021-07-08 23:25:00 +02:00
6ae2712a72 release version 1.0.0 2021-07-08 06:18:29 +00:00
05933af152 cleanup 2021-07-08 08:00:58 +02:00
01a192d864 Add licensing info to migrationHelper.ts 2021-07-08 07:17:59 +02:00
e4143446aa Fix migration 2021-07-08 07:10:34 +02:00
b694f20e1c Update migrations for 0.8.x 2021-07-08 02:32:25 +02:00
1099b1500e Use Number.isSafeInteger to guard against invalid numbers in check-factory 2021-07-07 22:46:21 +02:00
c57960c153 Update vtt types 2021-07-07 19:22:35 +02:00
5367e67707 Merge remote-tracking branch 'origin/master' into 55-creatures-compendium 2021-07-02 18:05:28 +02:00
7ca8fff910 Update vtt-types and get rid of now unnecessary @ts-ignores 2021-07-01 22:02:52 +02:00
836e57347f Small cleanup 2021-07-01 04:24:51 +02:00
f26d75b56f Do a bit of cleanup 2021-07-01 02:56:09 +02:00
2161a8e92a Avoid min and max rolls being highlighted incorrectly 2021-07-01 02:09:34 +02:00
7a37f46017 Fix slaying dice modifier 2021-07-01 01:51:50 +02:00
1ddabc388c use methods from the foundry.utils namespaces instead of their global counterparts 2021-07-01 01:08:30 +02:00
8f7f6af359 Fix DS4Check for 0.8.x 2021-07-01 00:36:41 +02:00
61b757ae8f Fix Actor sheets 2021-06-30 19:14:52 +02:00
0369748629 Update types and remove unnecessary ts-ignores 2021-06-30 16:02:49 +02:00
91e5007391 Fix item sheets 2021-06-30 14:24:23 +02:00
8a939e84a1 Make AktorSheet#getData compile 2021-06-30 13:42:20 +02:00
d85d335799 Uppdate DS4ItemSheet#getData 2021-06-30 13:26:15 +02:00
5bf9ee534d A little cleanup 2021-06-30 13:08:41 +02:00
918fa5081b Make DS4Item compile and commen getData methods for now 2021-06-30 12:54:39 +02:00
446340c064 temporary comment migrations 2021-06-30 05:04:58 +02:00
76f42fe280 More WIP 2021-06-30 05:00:23 +02:00
ba493f4f18 More WIP on 0.8.x migration 2021-06-30 04:32:10 +02:00
6b39284164 More WIP on 0.8.x migration 2021-06-30 03:53:52 +02:00
ef01698178 WIP: Update to 0.8.x 2021-06-30 02:17:54 +02:00
344302be69 release version 0.8.0 2021-06-26 23:05:11 +00:00
058c58f1c4 small fixes 2021-06-27 00:24:05 +02:00
4694cffe06 Update licensing information in system.json 2021-06-27 00:10:46 +02:00
4a169c7111 Update icon paths in compendium packs and config.ts 2021-06-26 23:57:36 +02:00
2d647094f7 Use REUSE to specify licensing info 2021-06-26 22:02:00 +02:00
a987b59b65 Add logger that encapsulates console logging 2021-06-26 16:34:30 +02:00
1f6d13c49d Fix issue with CheckFactory parsing empty strings as NaN for check related values 2021-06-26 16:32:31 +02:00
ff6427f5a9 Fix problem with check target numbers <= 0
The fix has 2 components:
1. The logic for evaluating checks now supports check target numbers<= 0
   by still using a single die in this case
2.  The CheckFactory sets the check target number to 0 even if it would
   be < 0. This is necessary because negative numbers would interfer
   with foundry's math evaluation in rolls and would not be picked up
   correctly.
2021-06-26 16:32:31 +02:00
d443b339d8 Improve code slightly in a couple of places 2021-06-26 11:42:50 +02:00
Sascha Martens
ed3678823f Deleted Riese token image 2021-06-25 08:38:02 +02:00
Sascha Martens
7552a0616d Deleted 2 giant spider images with bad resolutions 2021-06-25 08:36:02 +02:00
Sascha Martens
9ed061f1ac Deleted Leichnam Token 2021-06-25 08:32:58 +02:00
Sascha Martens
5afb404699 Deleted the submerged Aligator image 2021-06-23 08:53:14 +02:00
Sascha Martens
785cdc537c Changed the path to the bear token of the bear creature 2021-06-23 08:52:06 +02:00
Sascha Martens
3fd3357caf Added Creatures Compendium 2021-06-14 17:41:44 +02:00
5b26dbb00a release version 0.7.2 2021-06-07 17:28:44 +00:00
Sascha Martens
fb85857167 Changed icons of Schattenlanze, Schutzschild dehnen, Schutzschild
stärken and Lichtlanze
2021-06-07 17:43:24 +02:00
Sascha Martens
b12c18eaed Changed black symbols and deleted them
Changed every occurence of black symbols, downloaded new white ones and
deleted the black ones
2021-06-01 21:30:52 +02:00
Sascha Martens
a24f877bdd Deleted Effekt: text from spell compendium 2021-06-01 21:13:32 +02:00
Sascha Martens
4f2b3fbd20 Changed magic-spells.db to spells.db
Also changed the code in system.json to match the new filename
2021-06-01 21:08:29 +02:00
Sascha Martens
e8ac321ce0 Deleted LICENSE. We don't need that anymore 2021-06-01 21:05:56 +02:00
Sascha Martens
0e83f88b9e Deleted links and sorted authors
Deleted the link from Caro Asercion and sorted the linklist
alphabetically
2021-06-01 21:05:05 +02:00
Sascha Martens
58b3a50a42 Added every icon to the authors.md 2021-05-30 13:49:36 +02:00
Sascha Martens
c4b9750dd3 Added Spells Compendium with icons
I've added every rulebook spells into a compendium with an icon from
game-icons.net. The compendium isn't functional, but has every rule in
it.
2021-05-30 09:13:28 +02:00
215184151a release version 0.7.1 2021-05-29 19:58:48 +00:00
7c50b62e96 bump compatibleCoreVersion to 0.7.10 2021-05-29 21:52:42 +02:00
18fbe6dcf9 Update dependencies 2021-05-29 21:51:23 +02:00
0ea18966f6 Replace images by plain links in authors.md 2021-05-23 14:50:59 +02:00
f76abef1f1 Add list of game icons with their authors and licenses 2021-05-23 14:43:52 +02:00
30b7fed8e0 release version 0.7.0 2021-05-13 20:13:09 +00:00
b71adefc65 Remove unnecessary explicit jQuery parameter 2021-05-13 22:09:38 +02:00
549669e9e2 Simplify checking if something is a valid attribute / trait / combatValue key 2021-05-13 22:03:32 +02:00
24725c15f9 Add a macro to perform generic checks 2021-05-13 21:39:42 +02:00
01a9dcbbb8 is handlebars else if instead of nesting ifs 2021-05-13 20:44:21 +02:00
473ec3a903 Extract calculation of spell price to its own file 2021-05-13 20:37:53 +02:00
a2e2aea78b Add migration for slayer points 2021-05-13 20:26:57 +02:00
8cf6db2ba5 Migrate data model of compendiums before migrating the content 2021-05-13 20:13:32 +02:00
b9f7588f95 Automatically calculate spell price 2021-05-13 19:59:44 +02:00
2bc7b03323 Add functionality to track the minimum levels of spells for each mage class 2021-05-13 16:44:56 +02:00
eb49c15d5f Add optional tracking of slayer points 2021-05-13 15:41:00 +02:00
8d3e381d56 release version 0.6.0 2021-04-25 16:36:34 +00:00
7fe6ae9bc7 Fix wrong roll template location 2021-04-25 18:31:19 +02:00
d712d9d5c8 Fix a couple of i18n typos 2021-04-24 21:54:40 +02:00
d93fa19158 Use relative paths for assets and fonts in css 2021-04-20 23:02:00 +02:00
1297de5565 Reorder some css properties 2021-04-20 23:01:33 +02:00
4b0510c8a6 Extract foundry highlight text shadow to mixin 2021-04-20 22:53:25 +02:00
65a79a351d Change min height of actor sheet 2021-04-20 22:44:31 +02:00
db69a8f537 Add styling for checks 2021-04-20 22:38:00 +02:00
0d03dbf424 Implement Drag & Drop of checks 2021-04-15 20:00:37 +02:00
9e72c6560f Implement POC of rolling check from character sheet 2021-04-13 23:43:22 +02:00
fcfba63488 Add bottom border to combat values 2021-04-13 23:03:45 +02:00
04174398bb Use BEM for combat values 2021-04-13 22:48:37 +02:00
49b450daee Reorganize templates file structure 2021-04-13 21:40:52 +02:00
17a270d361 Merge branch 'master' into 76-common-checks-in-actor-sheets 2021-04-13 20:22:09 +02:00
ad2fd01353 Add checks for analyzing magic 2021-04-13 20:19:25 +02:00
e7564a0a5a release version 0.5.2 2021-04-11 15:19:21 +00:00
7886be1ffb Merge branch 'master' into 76-common-checks-in-actor-sheets 2021-03-30 22:46:41 +02:00
d446e07abd Apply 2 suggestion(s) to 1 file(s) 2021-03-30 20:41:12 +00:00
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
a7569633e2 release version 0.5.1 2021-03-18 08:02:44 +00: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
a2014c53d4 release version 0.5.0 2021-03-17 19:07:03 +00: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
e9fa9b3b56 Fix typos in item kompendium 2021-03-17 19:11:52 +01:00
e7fc318ea5 Use rollup to build typescript 2021-03-17 17:28:35 +01: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
b439915c7c Fix color of coup / fumble dice totals in firefox 2021-03-16 07:42:49 +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
f3b6ed4b7f Make fumbles / coups more distinctive in the dice-total 2021-03-15 20:15:00 +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