Commit graph

6 commits

Author SHA1 Message Date
Johannes Loher
9d7c570553 feat: replace spell category by spell groups
This also allows to assign a spell to multiple spell groups, which is the case for many spells in
the SRD.

Additionally, this makes many small improvements and fixes to the provided spell compendium.
2022-11-04 21:14:32 +01:00
Johannes Loher
bb6d22d14a test: use vitest instead of jest 2022-08-22 23:42:42 +02:00
Johannes Loher
9cffa4df04 refactor: prefer type imports and sort imports 2022-02-17 01:03:42 +01:00
Johannes Loher
8d2cff77d7 refactor: use subclasses for different item types 2022-02-17 01:03:42 +01:00
Johannes Loher
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
Johannes Loher
666b61ec09 test: add tests for calculating the spell price 2022-02-13 19:53:18 +01:00