Add dmg roll for powers
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user