Add Lancer to systems.js (#21)

This commit is contained in:
Grygon
2021-02-11 11:36:46 -06:00
committed by GitHub
parent d232335e90
commit b29a687fff
+3
View File
@@ -3,6 +3,8 @@ export function getDefaultSpeedAttribute() {
switch (game.system.id) { switch (game.system.id) {
case "dnd5e": case "dnd5e":
return "actor.data.data.attributes.movement.walk" return "actor.data.data.attributes.movement.walk"
case "lancer":
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"
} }
@@ -12,6 +14,7 @@ export function getDefaultSpeedAttribute() {
export function getDefaultDashMultiplier() { export function getDefaultDashMultiplier() {
switch (game.system.id) { switch (game.system.id) {
case "dnd5e": case "dnd5e":
case "lancer":
case "pf1": case "pf1":
return 2 return 2
} }