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
|
## 1.4.2
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- Drag Ruler now works again on gridless maps
|
- Drag Ruler now works again on gridless maps
|
||||||
|
|||||||
@@ -7,12 +7,16 @@ 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 "swade":
|
||||||
|
return "actor.data.data.stats.speed.value"
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getDefaultDashMultiplier() {
|
export function getDefaultDashMultiplier() {
|
||||||
switch (game.system.id) {
|
switch (game.system.id) {
|
||||||
|
case "swade":
|
||||||
|
return 0
|
||||||
case "dnd5e":
|
case "dnd5e":
|
||||||
case "lancer":
|
case "lancer":
|
||||||
case "pf1":
|
case "pf1":
|
||||||
|
|||||||
Reference in New Issue
Block a user