Commit graph

2449 commits

Author SHA1 Message Date
4ac29f8f95 Merge branch 'item-effects' into 'main'
Add effects for owned items

See merge request dungeonslayers/ds4!203
2022-11-03 21:20:49 +00:00
ddfab1813e refactor: extract active effect application to DS4ActiveEffect 2022-11-03 22:16:01 +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
Renovate Bot
27b6506847 chore(deps): update dependency yargs to v17.6.2 2022-11-03 17:17:07 +00:00
Renovate Bot
e51d2a8f94 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v2.1.4 2022-11-03 13:17:59 +00:00
429060311f Merge branch 'renovate/swc-core-1.x' into 'main'
chore(deps): update dependency @swc/core to v1.3.14

See merge request dungeonslayers/ds4!210
2022-11-03 06:18:47 +00:00
Renovate Bot
9c6dbc0a08 chore(deps): update dependency @swc/core to v1.3.14 2022-11-03 05:19:27 +00:00
Renovate Bot
0e992ba8de chore(deps): update dependency yargs to v17.6.1 2022-11-02 17:18:03 +00:00
Renovate Bot
0beb37d5f0 chore(deps): update dependency vitest to v0.24.5 2022-11-01 18:18:40 +00:00
Renovate Bot
0741684ae3 chore(deps): update dependency rollup to v3.2.5 2022-11-01 06:18:35 +00:00
33b9618c60 Merge branch 'fix-active-effect-evaluation-security' into 'main'
fix: make expression evaluation in active effects more secure

See merge request dungeonslayers/ds4!209
2022-10-31 22:04:32 +00:00
20ea70d96a fix: make expression evaluation in active effects more secure 2022-10-31 22:58:04 +01:00
Renovate Bot
19ba312a44 chore(deps): update dependency tslib to v2.4.1 2022-10-31 20:23:27 +00:00
Renovate Bot
e7f72233f0 chore(deps): update dependency rollup to v3.2.4 2022-10-31 19:19:12 +00:00
Renovate Bot
9b90f63a81 chore(deps): update typescript-eslint monorepo to v5.42.0 2022-10-31 18:21:29 +00:00
Renovate Bot
f62e029e3e chore(deps): update commitlint monorepo to v17.2.0 2022-10-31 15:18:13 +00:00
Renovate Bot
8a1a1bdee5 chore(deps): update dependency vitest to v0.24.4 2022-10-31 11:24:34 +00:00
Renovate Bot
b5cfcdab0b chore(deps): update dependency vite to v3.2.2 2022-10-31 09:21:59 +00:00
Renovate Bot
a1ca9ea11f chore(deps): update dependency @types/node to v16.18.3 2022-10-30 20:18:51 +00:00
Renovate Bot
ed40d6d52f chore(deps): update dependency vite to v3.2.1 2022-10-28 10:18:36 +00:00
Renovate Bot
2170fac804 chore(deps): update dependency @types/node to v16.18.2 2022-10-26 21:18:40 +00:00
Renovate Bot
3230a95cb6 chore(deps): update dependency vite to v3.2.0 2022-10-26 14:19:00 +00:00
Renovate Bot
cc34578ebb chore(deps): update dependency @types/node to v16.18.1 2022-10-26 13:20:07 +00:00
Renovate Bot
0addf6beb2 chore(deps): update dependency @swc/core to v1.3.11 2022-10-26 11:19:59 +00:00
Renovate Bot
c8103fa214 chore(deps): update typescript-eslint monorepo to v5.41.0 2022-10-24 18:18:50 +00:00
Renovate Bot
e2fa7917d2 chore(deps): update dependency @types/node to v16.18.0 2022-10-23 20:18:04 +00:00
Renovate Bot
cb3c8b8976 chore(deps): update dependency eslint to v8.26.0 2022-10-21 21:18:30 +00:00
Renovate Bot
fc879e464d chore(deps): update dependency @rollup/plugin-typescript to v9.0.2 2022-10-21 19:22:21 +00:00
Renovate Bot
72bf241b5f chore(deps): update dependency @swc/core to v1.3.10 2022-10-21 05:18:14 +00:00
Renovate Bot
729b4c772e chore(deps): update dependency @guanghechen/rollup-plugin-copy to v2.1.2 2022-10-20 03:18:54 +00:00
Renovate Bot
3536ae4a2e chore(deps): update dependency rollup-plugin-swc3 to v0.7.0 2022-10-19 06:18:17 +00:00
Renovate Bot
b4506f2c80 chore(deps): update dependency @types/node to v16.11.68 2022-10-18 22:20:25 +00:00
Renovate Bot
39bc6830da chore(deps): update dependency rollup to v3.2.3 2022-10-18 05:18:15 +00:00
03d736e913 Merge branch 'update-yarn' into 'main'
chore: update yarn

See merge request dungeonslayers/ds4!208
2022-10-17 19:42:14 +00:00
2aeb5483fc chore: update yarn 2022-10-17 21:36:43 +02:00
6951a1472e Merge branch 'renovate/rollup-3.x' into 'main'
chore(deps): update dependency rollup to v3

See merge request dungeonslayers/ds4!207
2022-10-17 19:33:53 +00:00
Renovate Bot
c30c4c443c chore(deps): update dependency rollup to v3 2022-10-17 19:29:50 +00:00
Renovate Bot
eaffef38c4 chore(deps): update typescript-eslint monorepo to v5.40.1 2022-10-17 18:18:13 +00:00
Renovate Bot
606fd74040 chore(deps): update dependency @swc/core to v1.3.9 2022-10-17 13:18:05 +00:00
Renovate Bot
04139a9af5 chore(deps): update dependency @types/node to v16.11.66 2022-10-15 22:18:10 +00:00
Renovate Bot
9f5c7df89b chore(deps): update dependency vitest to v0.24.3 2022-10-14 12:17:59 +00:00
Renovate Bot
6de1405f30 chore(deps): update dependency vitest to v0.24.2 2022-10-14 10:17:53 +00:00
Renovate Bot
702a4b7a65 chore(deps): update dependency @swc/core to v1.3.8 2022-10-14 03:17:33 +00:00
Renovate Bot
83b2f46789 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v2.1.1 2022-10-13 12:19:29 +00:00
Renovate Bot
e1ddaef375 chore(deps): update dependency vite to v3.1.8 2022-10-13 09:18:03 +00:00
Renovate Bot
be474dfd51 chore(deps): update dependency @swc/core to v1.3.7 2022-10-12 06:18:06 +00:00
Renovate Bot
d1cb8ae964 chore(deps): update dependency @rollup/plugin-typescript to v9.0.1 2022-10-11 04:18:08 +00:00
Renovate Bot
442a004bc4 chore(deps): update dependency @types/node to v16.11.65 2022-10-10 22:16:54 +00:00
Renovate Bot
d8ed7c82e0 chore(deps): update typescript-eslint monorepo to v5.40.0 2022-10-10 18:18:17 +00:00
Renovate Bot
a9d6aeb62c chore(deps): update dependency @rollup/plugin-typescript to v9 2022-10-10 16:18:47 +00:00