renamed to wfrp4e
This commit is contained in:
@@ -2,7 +2,7 @@ import {dnd5e} from "./dnd5e.js"
|
|||||||
import {dnd35e} from "./dnd35e.js"
|
import {dnd35e} from "./dnd35e.js"
|
||||||
import {pf2e} from "./pf2e.js"
|
import {pf2e} from "./pf2e.js"
|
||||||
import {demonlord} from "./demonlord.js";
|
import {demonlord} from "./demonlord.js";
|
||||||
import {wfrp4} from "./wfrp4.js"
|
import {wfrp4e} from "./wfrp4e.js"
|
||||||
import {compatibleCore} from "../misc.js";
|
import {compatibleCore} from "../misc.js";
|
||||||
|
|
||||||
export class TokenHelper{
|
export class TokenHelper{
|
||||||
@@ -15,7 +15,7 @@ export class TokenHelper{
|
|||||||
if (game.system.id == 'D35E' || game.system.id == 'pf1') this.system = new dnd35e();
|
if (game.system.id == 'D35E' || game.system.id == 'pf1') this.system = new dnd35e();
|
||||||
else if (game.system.id == 'pf2e') this.system = new pf2e();
|
else if (game.system.id == 'pf2e') this.system = new pf2e();
|
||||||
else if (game.system.id == 'demonlord') this.system = new demonlord();
|
else if (game.system.id == 'demonlord') this.system = new demonlord();
|
||||||
else if (game.system.id == 'wfrp4') this.system = new wfrp4();
|
else if (game.system.id == 'wfrp4e') this.system = new wfrp4e();
|
||||||
else this.system = new dnd5e(); //default to dnd5e
|
else this.system = new dnd5e(); //default to dnd5e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {compatibleCore} from "../misc.js";
|
import {compatibleCore} from "../misc.js";
|
||||||
|
|
||||||
export class wfrp4{
|
export class wfrp4e {
|
||||||
constructor(){
|
constructor(){
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -26,7 +26,7 @@ export class wfrp4{
|
|||||||
}
|
}
|
||||||
|
|
||||||
getSpeed(token) {
|
getSpeed(token) {
|
||||||
return;
|
return token.actor.data.data.details.move.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
getInitiative(token) {
|
getInitiative(token) {
|
||||||
Reference in New Issue
Block a user