Add Lancer to systems.js (#21)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user