Add dmg roll for powers

This commit is contained in:
2022-02-25 14:53:19 +01:00
parent 7ff89c34b8
commit 1ea1b3b1a8
11 changed files with 59 additions and 61 deletions

View File

@ -386,7 +386,8 @@ export class PegasusItemSheet extends ItemSheet {
/* -------------------------------------------- */
async _onDrop(event) {
if (this.object.type == 'weapon' || this.object.type == 'shield' || this.object.type == 'armor' || this.object.type == 'shield') {
if (this.object.type == 'weapon' || this.object.type == 'armor' || this.object.type == 'shield'
|| this.object.type == 'equipment') {
let data = event.dataTransfer.getData('text/plain');
if (data) {
let dataItem = JSON.parse(data);