Commit graph

643 commits

Author SHA1 Message Date
Johannes Loher
f38adb5e02 refactor: improve conversion to roman numerals 2022-11-10 04:41:48 +01:00
Johannes Loher
e89f03f81d feat: display talent rank with roman numerals in character sheet 2022-11-10 04:00:48 +01:00
Johannes Loher
1e7492073e fix: simplify talent rank display in character sheet 2022-11-10 03:32:52 +01:00
Johannes Loher
1e094691ff feat: display opponent defense in attack/spell rolls and make it adjustable via effects
This makes it so that the Talents “Verletzen” and “Verheerer” can sort of be automated.
Compendium packs have been updated accordingly.
2022-11-10 01:43:42 +01:00
Johannes Loher
01fb92732b fix: correctly calculate the check target number for communicate
It receives a bonus of +1 for each known language
2022-11-06 23:03:19 +01:00
Johannes Loher
acf48c4c44 feat: make it possible to affect the armor value spell malus with Active Effects
The corresponding key is `data.armorValueSpellMalus`
2022-11-06 21:44:02 +00:00
Johannes Loher
bdb17cfac7 fix: apply effects to embedded items after all embedded items have been prepared 2022-11-05 02:42:01 +01:00
Johannes Loher
c5d4ec1abd refactor: improve structure of src 2022-11-04 21:47:18 +01:00
Johannes Loher
9d7c570553 feat: replace spell category by spell groups
This also allows to assign a spell to multiple spell groups, which is the case for many spells in
the SRD.

Additionally, this makes many small improvements and fixes to the provided spell compendium.
2022-11-04 21:14:32 +01:00
Johannes Loher
ab31450dd8 fix: address a few problems with active effect application 2022-11-04 21:09:06 +01:00
Johannes Loher
2023019d3a fix: visually disable/remove interactive elements in non-editable sheets 2022-11-04 00:03:03 +01:00
Johannes Loher
fc9f4b49b5 feat: add a special actor sheet that is displayed to users with the LIMITED permission for the actor
This actor sheet only shows image, name, and biography/description of the actor.
2022-11-03 23:02:46 +01:00
Johannes Loher
ddfab1813e refactor: extract active effect application to DS4ActiveEffect 2022-11-03 22:16:01 +01:00
Johannes Loher
b1ed05a796 feat: add functionality to apply Active Affects to owned Items
In the Active Effect Config, there are now additional inputs to configure the effect
to be applied to items owned by the actor instead of the actor itself. It is possible
to select the items to which to apply the effect via matching by name, or via a condition
expression, that provides similar capabilities as the evaluation of mathematical
expressions in rolls. Data from the Actor, Item, and Active Effect can be accessed
similar to how properties are accessed in roll formulas (using the prefixes `@actor`,
`@item`, and `@effect`). For example, in order to apply an effect to all ranged
weapons, the conditions would be
```js
'@item.type' === 'weapon' && '@item.data.attackType' === 'ranged'
```
2022-11-03 22:14:36 +01:00
Johannes Loher
20ea70d96a fix: make expression evaluation in active effects more secure 2022-10-31 22:58:04 +01:00
Johannes Loher
12bc76ba54 refactor: use noImplicitOverride option 2022-05-29 17:48:49 +02:00
Johannes Loher
3b74ce2a5b feat: add rollItem hook 2022-05-19 02:36:05 +02:00
Johannes Loher
a94fb55e19 fix: make the HTML ids in the roll options dialog unique 2022-05-13 17:31:14 +00:00
Johannes Loher
82217dd971 feat: add selectable check modifiers 2022-05-13 17:31:14 +00:00
Johannes Loher
09347b18f0 chore(deps): update yarn, typescript, and fvtt types 2022-03-20 17:58:21 +01:00
Johannes Loher
9cffa4df04 refactor: prefer type imports and sort imports 2022-02-17 01:03:42 +01:00
Johannes Loher
8d2cff77d7 refactor: use subclasses for different item types 2022-02-17 01:03:42 +01:00
Johannes Loher
be616e3be8 refactor: use subclasses for different actor types 2022-02-17 01:03:29 +01:00
Johannes Loher
da1f6999eb feat: only allow specific selectable values for the cooldown duration of spells
World data (including compendium packs) is migrated automatically. In order to also migrate packs
provided by modules, you can use the following macro:
```js
const pack = game.packs.get("<name-of-the-module>.<name-of-the-pack>");
game.ds4.migration.migrateCompendiumFromTo(pack, 4, 5);
```
2022-02-16 01:58:21 +01:00
Johannes Loher
73e2d44c55 refactor: use better types for rollMode 2022-02-15 21:57:21 +01:00
Johannes Loher
312c79ebe6 build: fix build 2022-02-13 19:46:49 +01:00
Johannes Loher
1a27fa7e97 feat: allow selecting all resources in the combat tracker config and the default token config 2022-02-12 04:15:09 +01:00
Johannes Loher
1aa284311f refactor: resturcture files so that lincensing info can be bundled properly 2022-01-31 15:31:45 +01:00
Johannes Loher
699ba74840 docs: extract attribution into a separate markdown file 2022-01-31 14:17:14 +01:00
ghost
41e2112244 chore(release): 1.12.3 2022-01-23 16:55:18 +00:00
Johannes Loher
b25990deb6 fix: add icons to all effects in compendium packs 2022-01-23 17:51:58 +01:00
ghost
2bc06bf005 chore(release): 1.12.2 2022-01-23 16:44:10 +00:00
Johannes Loher
20160ea9a0 fix: hide effect icon if it's not present, instead of showing alt text and a broken image icon 2022-01-23 17:41:16 +01:00
Johannes Loher
c64adb0225 fix: correctly localize alt text of effect icons 2022-01-23 17:21:30 +01:00
ghost
ed6ad978e1 chore(release): 1.12.1 2022-01-23 16:09:02 +00:00
Johannes Loher
c86f3c506f fix: correctly display navigation tabs when the lang-de module is active
The lang-de module changes the styling of navigation tabs, which has been breaking our own
styling (see https://gitlab.com/henry4k/foundryvtt-lang-de/-/issues/9).
2022-01-23 17:05:07 +01:00
ghost
56b389c3a1 chore(release): 1.12.0 2022-01-23 15:32:42 +00:00
Johannes Loher
ce8415357a feat: better styling of item sheets 2022-01-23 16:17:42 +01:00
Johannes Loher
1ae62bd766 docs: update readme and description 2022-01-23 16:17:42 +01:00
Renovate Bot
818ce32d8d chore(deps): update dependency @league-of-foundry-developers/foundry-vtt-types to v9.242.0 2022-01-23 11:10:36 +01:00
ghost
24e7a0b064 chore(release): 1.11.2 2022-01-08 23:05:52 +00:00
Johannes Loher
e41c4f1b07 refactor: address a couple of V9 deprecations 2022-01-08 18:26:31 +01:00
ghost
c4e4540b3b chore(release): 1.11.1 2022-01-06 22:34:49 +00:00
Johannes Loher
5d8957af9b fix: don't throw an error when editing currency 2022-01-06 23:26:51 +01:00
ghost
f6a9d574e0 chore(release): 1.11.0 2021-12-28 21:01:51 +00:00
Johannes Loher
17adddd48e feat: add compatibility with foundry v9 2021-12-28 21:38:35 +01:00
ghost
4d8fd8ab84 chore(release): 1.10.1 2021-12-04 09:17:37 +00:00
Johannes Loher
9eaae536f2 refactor: simplify registration of handlebars partials 2021-11-30 19:04:00 +01:00
Johannes Loher
0bbfdaf381 fix: properly preload bold and italic font variants 2021-11-30 19:03:26 +01:00
Johannes Loher
0d6b89a3ed chore: replace gulp by a pure rollup based build 2021-11-30 18:08:58 +01:00