diff --git a/CHANGELOG.md b/CHANGELOG.md index ef35fde..e90cb90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/systems.js b/src/systems.js index c130fe1..3d94e6e 100644 --- a/src/systems.js +++ b/src/systems.js @@ -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":