Add default values for Starfinder to the Generic Speed Provider
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
### Bugfixes
|
### Bugfixes
|
||||||
- Fixed a bug that sometimes measured diagonals incorrectly with the 5/10/5 grid rule
|
- Fixed a bug that sometimes measured diagonals incorrectly with the 5/10/5 grid rule
|
||||||
|
|
||||||
|
### Compatibility
|
||||||
|
- Drag Ruler's Generic Speed Provider is now aware of good default values for the Starfinder game system
|
||||||
|
|
||||||
### Translation
|
### Translation
|
||||||
- Corrected typos in the german translation (thanks to CarnVanBeck!)
|
- Corrected typos in the german translation (thanks to CarnVanBeck!)
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ export function getDefaultSpeedAttribute() {
|
|||||||
return "actor.data.data.mech.speed"
|
return "actor.data.data.mech.speed"
|
||||||
case "pf1":
|
case "pf1":
|
||||||
return "actor.data.data.attributes.speed.land.total"
|
return "actor.data.data.attributes.speed.land.total"
|
||||||
|
case "sfrpg":
|
||||||
|
return "actor.data.data.attributes.speed.value";
|
||||||
case "shadowrun5e":
|
case "shadowrun5e":
|
||||||
return "actor.data.data.movement.walk.value";
|
return "actor.data.data.movement.walk.value";
|
||||||
case "swade":
|
case "swade":
|
||||||
@@ -25,6 +27,7 @@ export function getDefaultDashMultiplier() {
|
|||||||
case "dnd5e":
|
case "dnd5e":
|
||||||
case "lancer":
|
case "lancer":
|
||||||
case "pf1":
|
case "pf1":
|
||||||
|
case "sfrpg":
|
||||||
case "shadowrun5e":
|
case "shadowrun5e":
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user