Fix #169 Add new ability stuff

This commit is contained in:
2022-11-29 21:38:43 +01:00
parent b5755db5ca
commit 502887a820
8 changed files with 35 additions and 61 deletions

View File

@@ -354,13 +354,13 @@ export class PegasusActorSheet extends ActorSheet {
/* -------------------------------------------- */
/** @override */
setPosition(options = {}) {
/*setPosition(options = {}) {
const position = super.setPosition(options);
const sheetBody = this.element.find(".sheet-body");
const bodyHeight = position.height - 192;
sheetBody.css("height", bodyHeight);
return position;
}
}*/
/* -------------------------------------------- */
async _onDropItem(event, dragData) {

View File

@@ -1601,7 +1601,6 @@ export class PegasusActor extends Actor {
}
}
console.log("Ablities", this.name, abilities)
let nrg = duplicate(this.system.nrg)
let bonus = 0
for (let effect of effects) {