Start weapon stuff

This commit is contained in:
2021-12-24 18:33:37 +01:00
parent 7f6f813734
commit 048e989ac5
4 changed files with 37 additions and 5 deletions

View File

@ -185,6 +185,9 @@ export class BoLActorSheet extends ActorSheet {
case "aptitude" :
BoLRoll.aptitudeCheck(this.actor, actorData, dataset, event);
break;
case "weapon":
console.log("ROLL WEAPON !!!"); // TODO
break;
default : break;
}
}

View File

@ -9,5 +9,15 @@ export const registerSystemSettings = function() {
type: Boolean,
onChange: lang => window.location.reload()
});
game.settings.register("bol", "rollArmor", {
name: "Effectuer des jets pour les armures",
hint: "Effectue un jet de dés pour les armures (valeur fixe si désactivé)",
scope: "world",
config: true,
default: true,
type: Boolean,
onChange: lang => window.location.reload()
});
};