Commit graph

18 commits

Author SHA1 Message Date
2023019d3a fix: visually disable/remove interactive elements in non-editable sheets 2022-11-04 00:03:03 +01:00
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
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
63c30ca18b fix: hide overflow of columns in effects tab in actor sheets 2022-08-15 15:02:31 +02:00
3e0eba268b feat: make custom modifier the default in the roll options dialog 2022-06-11 12:45:51 +02:00
a94fb55e19 fix: make the HTML ids in the roll options dialog unique 2022-05-13 17:31:14 +00:00
82217dd971 feat: add selectable check modifiers 2022-05-13 17:31:14 +00:00
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
76f578a3fa fix: don't use an input to display the spell price as it's not editable 2022-02-13 19:53:29 +01:00
76a0e9f6e5 fix: avoid hover effect of add (item / effect) button being cut off 2022-02-13 00:36:35 +01:00
1aa284311f refactor: resturcture files so that lincensing info can be bundled properly 2022-01-31 15:31:45 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00
27487c5bae initial attempt for using ActiveEffects and applying item base stats 2020-10-30 00:48:06 +01:00
abeb9d8b24 Add additional physical item types 2020-10-29 22:01:13 +01:00
e51376dc02 add item type to weapon sheet 2020-10-29 18:49:51 +01:00
1437dd6ee1 Add availability to weapon sheet 2020-10-29 17:48:56 +01:00
3dd459660e make basic properties in weapon editable 2020-10-29 17:25:37 +01:00
91694af3e9 initial commit 2020-10-29 16:18:38 +01:00