From 7bed5abd0a1129f273ebb0adf8029f7479be5a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Mon, 3 May 2021 19:39:11 +0200 Subject: [PATCH] Add default settings for shadowrun 5e --- CHANGELOG.md | 5 +++++ src/systems.js | 3 +++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc6f4c..0bd184d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## In development +### Compatibility +- Drag Ruler's Generic SpeedProvider is now aware of good default values for the Savage Worlds Adventure Edition game system + + ## 1.6.2 ### Bugfixes - The reset movement history button now resets the movement history for all players, not just for the GM diff --git a/src/systems.js b/src/systems.js index 3d94e6e..52a1e99 100644 --- a/src/systems.js +++ b/src/systems.js @@ -9,6 +9,8 @@ export function getDefaultSpeedAttribute() { return "actor.data.data.mech.speed" case "pf1": return "actor.data.data.attributes.speed.land.total" + case "shadowrun5e": + return "actor.data.data.movement.walk.value"; case "swade": return "actor.data.data.stats.speed.value" } @@ -23,6 +25,7 @@ export function getDefaultDashMultiplier() { case "dnd5e": case "lancer": case "pf1": + case "shadowrun5e": return 2 } return 0