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' ```
18 lines
803 B
JSON
18 lines
803 B
JSON
{
|
|
"search.exclude": {
|
|
"**/.yarn": true,
|
|
"**/.pnp.*": true
|
|
},
|
|
"eslint.nodePath": ".yarn/sdks",
|
|
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
|
|
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
|
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
"importSorter.generalConfiguration.sortOnBeforeSave": true,
|
|
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.type": "newLineEachExpressionAfterCountLimitExceptIfOnlyOne",
|
|
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 120,
|
|
"importSorter.importStringConfiguration.tabSize": 4,
|
|
"importSorter.importStringConfiguration.quoteMark": "double",
|
|
"importSorter.importStringConfiguration.trailingComma": "multiLine",
|
|
"vitest.commandLine": "yarn run vitest"
|
|
}
|