Add defaults for swade game system to generic speed provider
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
## In development
|
||||
### System compatibility
|
||||
- Drag Ruler's Generic SpeedProvider is now aware of good default values for the Savage Worlds Adventure Edition game system
|
||||
|
||||
|
||||
## 1.4.2
|
||||
### Bugfixes
|
||||
- Drag Ruler now works again on gridless maps
|
||||
|
||||
@@ -7,12 +7,16 @@ export function getDefaultSpeedAttribute() {
|
||||
return "actor.data.data.mech.speed"
|
||||
case "pf1":
|
||||
return "actor.data.data.attributes.speed.land.total"
|
||||
case "swade":
|
||||
return "actor.data.data.stats.speed.value"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
export function getDefaultDashMultiplier() {
|
||||
switch (game.system.id) {
|
||||
case "swade":
|
||||
return 0
|
||||
case "dnd5e":
|
||||
case "lancer":
|
||||
case "pf1":
|
||||
|
||||
Reference in New Issue
Block a user