Commit graph

4 commits

Author SHA1 Message Date
9cffa4df04 refactor: prefer type imports and sort imports 2022-02-17 01:03:42 +01:00
8d2cff77d7 refactor: use subclasses for different item types 2022-02-17 01:03:42 +01: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
666b61ec09 test: add tests for calculating the spell price 2022-02-13 19:53:18 +01:00