Add defaults for dcc system

This commit is contained in:
Manuel Vögele
2021-04-20 17:02:37 +02:00
parent 4be6730fd5
commit d732f7ca17
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
## In development
### Compatiblilty
- Drag Ruler's Generic Speed Provider is now able to work with game systems that put non-number characters behind the tokens movement speed (like `30ft.`). One example for such a game system is Dungeon Crawl Classics. ([#60](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/60))
- The Generic Speed Provider now has good default settings for the Dungeon Crawl Classics (dcc) game system.
## 1.5.2
+3
View File
@@ -1,6 +1,8 @@
export function getDefaultSpeedAttribute() {
switch (game.system.id) {
case "dcc":
return "actor.data.data.attributes.speed.value";
case "dnd5e":
return "actor.data.data.attributes.movement.walk"
case "lancer":
@@ -17,6 +19,7 @@ export function getDefaultDashMultiplier() {
switch (game.system.id) {
case "swade":
return 0
case "dcc":
case "dnd5e":
case "lancer":
case "pf1":