Commit graph

7 commits

Author SHA1 Message Date
4ad1b6a75e build: use pnpm instead of yarn 2023-03-23 02:09:05 +01:00
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
2aeb5483fc chore: update yarn 2022-10-17 21:36:43 +02:00
bb6d22d14a test: use vitest instead of jest 2022-08-22 23:42:42 +02:00
9cffa4df04 refactor: prefer type imports and sort imports 2022-02-17 01:03:42 +01:00
6a406db60a fix issues 2021-09-12 17:48:14 +02:00
1d74c60272 Add configuration for yarn 2 pnp 2021-02-11 12:34:01 +01:00