Initial system development

This commit is contained in:
2021-01-18 17:46:39 +01:00
parent 199dc4c6ed
commit ca29af6b61
10 changed files with 1446 additions and 38 deletions

View File

@ -24,6 +24,10 @@ export class SoSActorSheet extends ActorSheet {
getData() {
let data = super.getData();
console.log("stats", data);
//data.stats = duplicate(this.actor.stats);
//data.scores = duplicate(this.actor.scores);
return data;
}
@ -37,7 +41,7 @@ export class SoSActorSheet extends ActorSheet {
activateListeners(html) {
super.activateListeners(html);
HtmlUtility._showControlWhen($(".gm-only"), game.user.isGM);
//HtmlUtility._showControlWhen($(".gm-only"), game.user.isGM);
// Everything below here is only needed if the sheet is editable
if (!this.options.editable) return;